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