Opened 22 years ago

Closed 22 years ago

Last modified 5 years ago

#7989 closed patch

OpenGL paletted/rgb texture fix

Reported by: SF/luke_br Owned by: fingolfin
Priority: normal Component: Graphics
Version: Keywords:
Cc: Game:

Description

This patch is intended to fix the problem of people with no paletted texture extension. The code now checks if this extension is present. If it exists then paletted textures are used. Else it fallbacks to RGB texture (a little bit slower). The new fb2opengl.h is now object oriented (C++).

Ticket imported from: #586167. Ticket imported from: patches/94.

Attachments (3)

sdl_gl.diff (1.2 KB ) - added by SF/luke_br 22 years ago.
OpenGL paletted/rgb texture fix
fb2opengl.h (9.1 KB ) - added by SF/luke_br 22 years ago.
New fb2opengl.h (C++)
sdl_gl.2.diff (1.4 KB ) - added by SF/luke_br 22 years ago.
ops, fallback to RGB now working (final version)

Download all attachments as: .zip

Change History (6)

by SF/luke_br, 22 years ago

Attachment: sdl_gl.diff added

OpenGL paletted/rgb texture fix

by SF/luke_br, 22 years ago

Attachment: fb2opengl.h added

New fb2opengl.h (C++)

by SF/luke_br, 22 years ago

Attachment: sdl_gl.2.diff added

ops, fallback to RGB now working (final version)

comment:1 by fingolfin, 22 years ago

Works fine, thanks!

comment:2 by fingolfin, 22 years ago

Owner: set to fingolfin
Status: newclosed

comment:3 by digitall, 5 years ago

Component: Graphics
Note: See TracTickets for help on using tickets.