add backend_test for sdl2 opengl3

This commit is contained in:
Victor Bombi
2020-10-16 15:56:11 +02:00
parent c5a3820d02
commit 5a5ac45e55
4 changed files with 299 additions and 0 deletions

View 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