summaryrefslogtreecommitdiff
path: root/test/testgl2.c
diff options
context:
space:
mode:
authorBob Pendleton <bob@pendleton.com>2008-03-14 18:17:49 +0000
committerBob Pendleton <bob@pendleton.com>2008-03-14 18:17:49 +0000
commit71656d10c750a63caabef14da0b3120c233df044 (patch)
treef48a625ea67f0353de83df45081c9bbe962f57d0 /test/testgl2.c
parentd8da8f7c2774c0a5d232589870d30be1fa4878a6 (diff)
re: bug#563. checking in some commented out trace code and a fix so that the in testalpha.c the background only flashes when alpha == 255. The problem that is being
fixed is caused by clearing SDL_COPY_RLE_COLORKEY without setting SDL_COPY_RLE_DESIRED in SDL_UnRELSurface. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402746
Diffstat (limited to 'test/testgl2.c')
-rw-r--r--test/testgl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testgl2.c b/test/testgl2.c
index c6467d60..2369b565 100644
--- a/test/testgl2.c
+++ b/test/testgl2.c
@@ -24,7 +24,7 @@ static void
quit(int rc)
{
if (context) {
- SDL_GL_MakeCurrent(0, NULL);
+ /* SDL_GL_MakeCurrent(0, NULL); *//* doesn't do anything */
SDL_GL_DeleteContext(context);
}
CommonQuit(state);