소스 검색

Change local (void*) to SDL_FunctionPointer

Sylvain 3 년 전
부모
커밋
813c586edb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/video/SDL_video.c

+ 2 - 2
src/video/SDL_video.c

@@ -3393,7 +3393,7 @@ int SDL_GL_LoadLibrary(const char *path)
 
 
 SDL_FunctionPointer SDL_GL_GetProcAddress(const char *proc)
 SDL_FunctionPointer SDL_GL_GetProcAddress(const char *proc)
 {
 {
-    void *func;
+    SDL_FunctionPointer func;
 
 
     if (_this == NULL) {
     if (_this == NULL) {
         SDL_UninitializedVideo();
         SDL_UninitializedVideo();
@@ -3415,7 +3415,7 @@ SDL_FunctionPointer SDL_GL_GetProcAddress(const char *proc)
 SDL_FunctionPointer SDL_EGL_GetProcAddress(const char *proc)
 SDL_FunctionPointer SDL_EGL_GetProcAddress(const char *proc)
 {
 {
 #if SDL_VIDEO_OPENGL_EGL
 #if SDL_VIDEO_OPENGL_EGL
-    void *func;
+    SDL_FunctionPointer func;
 
 
     if (!_this) {
     if (!_this) {
         SDL_UninitializedVideo();
         SDL_UninitializedVideo();