this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed unsetting profile mask for GLES.

+4 -2
+2
src/SDL_gpu.c
··· 399 399 return screen; 400 400 } 401 401 402 + GPU_PushErrorCode("GPU_Init", GPU_ERROR_BACKEND_ERROR, "No renderer out of %d was able to initialize properly", renderer_order_size); 402 403 return NULL; 403 404 } 404 405 ··· 428 429 screen = renderer->impl->Init(renderer, renderer_request, w, h, SDL_flags); 429 430 if(screen == NULL) 430 431 { 432 + GPU_PushErrorCode("GPU_InitRendererByID", GPU_ERROR_BACKEND_ERROR, "Renderer %s failed to initialize properly", renderer->id.name); 431 433 // Init failed, destroy the renderer... 432 434 // Erase the window mappings 433 435 _gpu_num_window_mappings = 0;
+1
src/SDL_gpu_renderer.c
··· 377 377 } 378 378 } 379 379 380 + GPU_PushErrorCode(__func__, GPU_ERROR_BACKEND_ERROR, "Couldn't create a new renderer. Too many active renderers for GPU_MAX_ACTIVE_RENDERERS (%d).", GPU_MAX_ACTIVE_RENDERERS); 380 381 return NULL; 381 382 } 382 383
+1 -2
src/renderer_GL_common.inl
··· 847 847 #ifdef SDL_GPU_USE_SDL2 848 848 849 849 // GL profile 850 + SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, 0); // Disable in case this is a fallback renderer 850 851 #ifdef SDL_GPU_USE_GLES 851 852 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES); 852 853 #endif ··· 860 861 else 861 862 SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); 862 863 } 863 - #else 864 - SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, 0); // Disable for falling back to other renderers 865 864 #endif 866 865 867 866 // GL version