aboutsummaryrefslogtreecommitdiff
path: root/emulators/dosbox/files/patch-src_gui_sdlmain.cpp
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2018-10-01 19:44:57 +0000
committerAlex Kozlov <ak@FreeBSD.org>2018-10-01 19:44:57 +0000
commit4b9a10d3ab6bb4b33cb80e04627a5303724bfc19 (patch)
tree36f5a9e55d8be38b613c219de7a5f90362a012b8 /emulators/dosbox/files/patch-src_gui_sdlmain.cpp
parent123f93dab0ed16921e907dc01f884bd8648b7b3d (diff)
Notes
Diffstat (limited to 'emulators/dosbox/files/patch-src_gui_sdlmain.cpp')
-rw-r--r--emulators/dosbox/files/patch-src_gui_sdlmain.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/emulators/dosbox/files/patch-src_gui_sdlmain.cpp b/emulators/dosbox/files/patch-src_gui_sdlmain.cpp
deleted file mode 100644
index c70ff6adb774..000000000000
--- a/emulators/dosbox/files/patch-src_gui_sdlmain.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-*** 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