changeset 120:4bd92adfcd4b

Fix invalid test for failed SDL_GL_GetProcAddress glx for example never returns NULL for glXGetProcAddress [1] and therefore test for a bogus function name is not working with SDL_GL_GetProcAddress [1] http://dri.freedesktop.org/wiki/glXGetProcAddressNeverReturnsNULL/
author Sven Eckelmann <sven@narfation.org>
date Wed, 25 Dec 2013 00:03:15 +0100
parents 199f6d6b534e
children 14d6416116df
files sdl2/test/video_test.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/sdl2/test/video_test.py	Tue Dec 24 20:32:52 2013 +0100
+++ b/sdl2/test/video_test.py	Wed Dec 25 00:03:15 2013 +0100
@@ -658,9 +658,6 @@
         procaddr = video.SDL_GL_GetProcAddress(b"glGetString")
         self.assertTrue(procaddr is not None and int(procaddr) != 0)
 
-        procaddr = video.SDL_GL_GetProcAddress(b"glForWhackoPeople")
-        self.assertIsNone(procaddr)
-
         video.SDL_GL_DeleteContext(ctx)
         video.SDL_DestroyWindow(window)
         video.SDL_GL_UnloadLibrary()