mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 12:18:30 +01:00
add backend_test for sdl2 opengl3
This commit is contained in:
11
backend_test/cimgui_extras.h
Normal file
11
backend_test/cimgui_extras.h
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
|
||||
// GL3W/GLFW
|
||||
#include <GL/gl3w.h> // This example is using gl3w to access OpenGL functions (because it is small). You may use glew/glad/glLoadGen/etc. whatever already works for you.
|
||||
|
||||
//making it accesible for luajit
|
||||
#ifdef _WIN32
|
||||
__declspec( dllexport ) int Do_gl3wInit(void);
|
||||
#else
|
||||
int Do_gl3wInit(void);
|
||||
#endif
|
Reference in New Issue
Block a user