Index: head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp =================================================================== --- head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp (nonexistent) +++ head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp (revision 435580) @@ -0,0 +1,25 @@ +*** src/gui/sdlmain.cpp.orig Mon Mar 6 03:02:24 2017 +--- src/gui/sdlmain.cpp Mon Mar 6 03:03:21 2017 +*************** +*** 1134,1143 **** + #endif + const char * gl_ext = (const char *)glGetString (GL_EXTENSIONS); + if(gl_ext && *gl_ext){ +! sdl.opengl.packed_pixel=(strstr(gl_ext,"EXT_packed_pixels") > 0); +! sdl.opengl.paletted_texture=(strstr(gl_ext,"EXT_paletted_texture") > 0); + #if defined(NVIDIA_PixelDataRange) +! sdl.opengl.pixel_data_range=(strstr(gl_ext,"GL_NV_pixel_data_range") >0 ) && + glPixelDataRangeNV && db_glAllocateMemoryNV && db_glFreeMemoryNV; + sdl.opengl.pixel_data_range = 0; + #endif +--- 1134,1143 ---- + #endif + const char * gl_ext = (const char *)glGetString (GL_EXTENSIONS); + if(gl_ext && *gl_ext){ +! sdl.opengl.packed_pixel=(strstr(gl_ext,"EXT_packed_pixels") != 0); +! sdl.opengl.paletted_texture=(strstr(gl_ext,"EXT_paletted_texture") != 0); + #if defined(NVIDIA_PixelDataRange) +! sdl.opengl.pixel_data_range=(strstr(gl_ext,"GL_NV_pixel_data_range") != 0 ) && + glPixelDataRangeNV && db_glAllocateMemoryNV && db_glFreeMemoryNV; + sdl.opengl.pixel_data_range = 0; + #endif Property changes on: head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property