src/video/android/SDL_androidgl.c
changeset 7037 3fedf1f25b94
parent 6885 700f1b25f77f
child 7567 52da75545aaa
equal deleted inserted replaced
7036:8c891504e325 7037:3fedf1f25b94
    40 Android_GL_LoadLibrary(_THIS, const char *path)
    40 Android_GL_LoadLibrary(_THIS, const char *path)
    41 {
    41 {
    42     if (!Android_GLHandle) {
    42     if (!Android_GLHandle) {
    43         Android_GLHandle = dlopen("libGLESv1_CM.so",RTLD_GLOBAL);
    43         Android_GLHandle = dlopen("libGLESv1_CM.so",RTLD_GLOBAL);
    44         if (!Android_GLHandle) {
    44         if (!Android_GLHandle) {
    45             SDL_SetError("Could not initialize GL ES library\n");
    45             return SDL_SetError("Could not initialize GL ES library\n");
    46             return -1;
       
    47         }
    46         }
    48     }
    47     }
    49     return 0;
    48     return 0;
    50 }
    49 }
    51 
    50