Hmm.. this is kind of annoying not being able to attach a file with a .diff, .patch or .txt extension, so hopefully it comes through okay here:
Code: Select all
Index: src/sound/i_soundinternal.h
===================================================================
--- src/sound/i_soundinternal.h (revision 246)
+++ src/sound/i_soundinternal.h (working copy)
@@ -101,4 +101,4 @@
-#endif
\ No newline at end of file
+#endif
Index: src/sdl/sdlglvideo.cpp
===================================================================
--- src/sdl/sdlglvideo.cpp (revision 246)
+++ src/sdl/sdlglvideo.cpp (working copy)
@@ -254,10 +254,7 @@
// FIXME: Is it possible to do this without completely destroying the old
// interface?
#ifndef NO_GL
- FFont *font = NULL;
-
FGLTexture::FlushAll();
- // font = screen->Font;
I_ShutdownGraphics();
Video = new SDLGLVideo(0);
@@ -270,7 +267,6 @@
#endif
V_DoModeSetup(width, height, bits);
- screen->SetFont(font);
#endif
return true; // We must return true because the old video context no longer exists.
}
Index: src/basictypes.h
===================================================================
--- src/basictypes.h (revision 246)
+++ src/basictypes.h (working copy)
@@ -95,4 +95,4 @@
#endif
-#endif
\ No newline at end of file
+#endif
Index: src/thingdef/thingdef_type.h
===================================================================
--- src/thingdef/thingdef_type.h (revision 246)
+++ src/thingdef/thingdef_type.h (working copy)
@@ -93,4 +93,4 @@
};
-#endif
\ No newline at end of file
+#endif
Index: src/gl/gl_texture.h
===================================================================
--- src/gl/gl_texture.h (revision 246)
+++ src/gl/gl_texture.h (working copy)
@@ -168,7 +168,7 @@
public:
FGLTexture(FTexture * tx);
- ~FGLTexture();
+ virtual ~FGLTexture();
unsigned char * CreateTexBuffer(ETexUse use, int cm, int translation, int & w, int & h, bool allowhires=true);
const WorldTextureInfo * Bind(int cm, int clamp=0, int translation=0);