#7970 closed patch
Updated OPENGL/SDL rendering routines
Reported by: | SF/luke_br | Owned by: | Kirben |
---|---|---|---|
Priority: | normal | Component: | Graphics |
Version: | Keywords: | ||
Cc: | Game: |
Description
Here goes the updated version of the OpenGL rendering routines (from CVS 06/09/2002). The Makefile.diff adds the option to add the needed libraries and defines for the OpenGL mode. If you comment this in the Makefile, then you will compile the normal SDL (or X11) mode. If not commented, this will generate a binary executable that *only* renders in OpenGL textures with bilinear filtering (good for people with 3d accelerators). The OpenGL routines are used in the fb2opengl.h file.
Ticket imported from: #566441. Ticket imported from: patches/75.
Attachments (10)
Change History (15)
by , 22 years ago
Attachment: | opengl_sdl.cpp.diff added |
---|
comment:1 by , 22 years ago
I was attempting to try out the OpenGL patch and noticed a
few problems:
bzero don't exist on mingw, so please use memset () instead.
Could you alter the source code to not require OpenGL 1.2 ?
unforunately Windows is still stuck with OpenGL 1.1 and I'm
unable to find OpenGL 1.2 libs for Windows anywhere.
comment:2 by , 22 years ago
Compiles fine with OpenGL support now but I get a black screen no matter what I do, ScummVM still seems to be working ok otherwise as I can hear sound in background. Could it be related to problem mentioned at http://www.opengl.org/developers/faqs/technical/mswindows.ht m#mswi0190 ? since I'm using Windows XP and have no OpenGL problems with other programs.
by , 22 years ago
Attachment: | Makefile.2.diff added |
---|
Modified Makefile dor new SDL/OpenGL output mode
comment:3 by , 22 years ago
This has been applied, so I'm closing this patch request.
Thanks Andr :)
comment:4 by , 22 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:5 by , 6 years ago
Component: | → Graphics |
---|
Modified sdl.cpp for OpenGL rendering support