1
0
Fork 0

Make variable "mvp_uniform" extern

This commit is contained in:
Meoweg 2015-11-07 14:06:53 +00:00
parent eb861952a4
commit 1b3c1c522b
2 changed files with 4 additions and 1 deletions

View file

@ -4,4 +4,6 @@
#include <GL/glew.h>
#include <GL/glfw.h>
extern GLuint mvp_uniform;
#endif // _GL_HPP_

View file

@ -1,3 +1,4 @@
#include "gl.hpp"
#include "program.hpp"
#include "object.hpp"
@ -22,7 +23,7 @@ static void iterate();
static GLFWCALL void on_key(int key, int action);
static EM_BOOL on_em_mousemove(int event_type, const EmscriptenMouseEvent *mouse_event, void *user_data);
static GLuint mvp_uniform;
GLuint mvp_uniform;
static GLuint texture_uniform;
static bool keys[GLFW_KEY_LAST];