Bug fixes of sound-extraction system and better support for mods
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@128 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
29
src/patch2
29
src/patch2
@@ -1,29 +0,0 @@
|
||||
Index: src/sdl/CVideoDriver.cpp
|
||||
===================================================================
|
||||
--- src/sdl/CVideoDriver.cpp (revision 30)
|
||||
+++ src/sdl/CVideoDriver.cpp (working copy)
|
||||
@@ -161,7 +161,9 @@
|
||||
Mode = SDL_HWPALETTE;
|
||||
|
||||
// Support for doublebuffering
|
||||
+#ifndef WIZ
|
||||
Mode |= SDL_DOUBLEBUF;
|
||||
+#endif
|
||||
|
||||
// Enable OpenGL
|
||||
#ifdef USE_OPENGL
|
||||
Index: src/sdl/CVideoDriver.h
|
||||
===================================================================
|
||||
--- src/sdl/CVideoDriver.h (revision 30)
|
||||
+++ src/sdl/CVideoDriver.h (working copy)
|
||||
@@ -69,9 +69,9 @@
|
||||
void setFrameskip(unsigned short value);
|
||||
void setFilter(short value);
|
||||
void setZoom(short vale);
|
||||
+ bool initOpenGL();
|
||||
#ifdef USE_OPENGL
|
||||
void enableOpenGL(bool value) { m_opengl = value; }
|
||||
- bool initOpenGL();
|
||||
void setOGLFilter(unsigned char value) { m_opengl_filter = (value==1) ? GL_LINEAR : GL_NEAREST ; }
|
||||
#else
|
||||
void enableOpenGL(bool value) { m_opengl = false; }
|
||||
@@ -1,29 +0,0 @@
|
||||
Index: src/sdl/CVideoDriver.cpp
|
||||
===================================================================
|
||||
--- src/sdl/CVideoDriver.cpp (revision 30)
|
||||
+++ src/sdl/CVideoDriver.cpp (working copy)
|
||||
@@ -161,7 +161,9 @@
|
||||
Mode = SDL_HWPALETTE;
|
||||
|
||||
// Support for doublebuffering
|
||||
+#ifndef WIZ
|
||||
Mode |= SDL_DOUBLEBUF;
|
||||
+#endif
|
||||
|
||||
// Enable OpenGL
|
||||
#ifdef USE_OPENGL
|
||||
Index: src/sdl/CVideoDriver.h
|
||||
===================================================================
|
||||
--- src/sdl/CVideoDriver.h (revision 30)
|
||||
+++ src/sdl/CVideoDriver.h (working copy)
|
||||
@@ -69,9 +69,9 @@
|
||||
void setFrameskip(unsigned short value);
|
||||
void setFilter(short value);
|
||||
void setZoom(short vale);
|
||||
+ bool initOpenGL();
|
||||
#ifdef USE_OPENGL
|
||||
void enableOpenGL(bool value) { m_opengl = value; }
|
||||
- bool initOpenGL();
|
||||
void setOGLFilter(unsigned char value) { m_opengl_filter = (value==1) ? GL_LINEAR : GL_NEAREST ; }
|
||||
#else
|
||||
void enableOpenGL(bool value) { m_opengl = false; }
|
||||
Reference in New Issue
Block a user