mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-01 03:19:49 -06:00
* move GL init to main thread
* fix potential bug causing the screen bitmap to be created twice
This commit is contained in:
@ -53,7 +53,7 @@ bool InitGLExtensions()
|
||||
{
|
||||
#define LOADPROC(type, name) \
|
||||
name = (PFN##type##PROC)Platform::GL_GetProcAddress(#name); \
|
||||
if (!name) return false;
|
||||
if (!name) { printf("OpenGL: " #name " not found\n"); return false; }
|
||||
|
||||
LOADPROC(GLGENFRAMEBUFFERS, glGenFramebuffers);
|
||||
LOADPROC(GLDELETEFRAMEBUFFERS, glDeleteFramebuffers);
|
||||
|
Reference in New Issue
Block a user