mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-15 05:58:30 +01:00
backend_test: use custom imgui gl3w
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
#include "../imgui/imgui.h"
|
||||
|
||||
// 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.
|
||||
#include "../imgui/backends/imgui_impl_opengl3_loader.h"
|
||||
|
||||
//making it accesible for luajit
|
||||
#ifdef _WIN32
|
||||
extern "C" __declspec( dllexport ) int Do_gl3wInit(void){ return gl3wInit();};
|
||||
extern "C" __declspec( dllexport ) int Do_gl3wInit(void){ return imgl3wInit();};
|
||||
#else
|
||||
extern "C" int Do_gl3wInit(void){ return gl3wInit();};
|
||||
extern "C" int Do_gl3wInit(void){ return imgl3wInit();};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user