Browse Source

Fixed returning incorrect type.

woollybah 7 years ago
parent
commit
229265045f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sdlvideo.mod/sdlvideo.bmx

+ 1 - 1
sdlvideo.mod/sdlvideo.bmx

@@ -403,7 +403,7 @@ Type TSDLWindow
 	not available by default. Those functions must be loaded at run-time, either with an OpenGL extension-handling
 	not available by default. Those functions must be loaded at run-time, either with an OpenGL extension-handling
 	library or with #GLGetProcAddress() and its related functions.
 	library or with #GLGetProcAddress() and its related functions.
 	End Rem
 	End Rem
-	Method GLCreateContext:Byte Ptr()
+	Method GLCreateContext:TSDLGLContext()
 		Return TSDLGLContext._create(SDL_GL_CreateContext(windowPtr))
 		Return TSDLGLContext._create(SDL_GL_CreateContext(windowPtr))
 	End Method
 	End Method