diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-04-01 04:50:48 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-04-01 04:50:48 +0200 |
commit | 1f13d9ce80c0cd5e94ba883ff6bb30c95d48a48a (patch) | |
tree | 88ba77ce41be20b0f726897411974560de122862 /src/GPU3D_OpenGL43.cpp | |
parent | 2d0d501d1ffe972dcc0a8879b95aaed9328650c7 (diff) |
* move GL init to main thread
* fix potential bug causing the screen bitmap to be created twice
Diffstat (limited to 'src/GPU3D_OpenGL43.cpp')
-rw-r--r-- | src/GPU3D_OpenGL43.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GPU3D_OpenGL43.cpp b/src/GPU3D_OpenGL43.cpp index 58539fa..ea8bbd7 100644 --- a/src/GPU3D_OpenGL43.cpp +++ b/src/GPU3D_OpenGL43.cpp @@ -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); |