mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
improve src/base/opengl.h
This commit is contained in:
parent
9e6798f621
commit
05aa9cef68
@ -14,11 +14,7 @@
|
||||
#define opengl_init()
|
||||
#else
|
||||
#include "glad/glad.h"
|
||||
#ifdef WIN32
|
||||
#define opengl_init gladLoadGL
|
||||
#else
|
||||
#define opengl_init()
|
||||
#endif
|
||||
#endif /*WITHOUT_GLAD*/
|
||||
|
||||
#endif/*WITH_GPU_GL*/
|
||||
|
Loading…
Reference in New Issue
Block a user