push correct change to glfwinit
This commit is contained in:
parent
f628a2845a
commit
8758be4379
@ -35,6 +35,8 @@ namespace gfx{
|
|||||||
|
|
||||||
void glfw_system::try_init()const{
|
void glfw_system::try_init()const{
|
||||||
s_status = glfwInit();
|
s_status = glfwInit();
|
||||||
|
if(s_status == GLFW_FALSE)
|
||||||
|
debug_print_error("Failed to initialize glfw\n");
|
||||||
}
|
}
|
||||||
glfw_system& glfw_system::instance(){
|
glfw_system& glfw_system::instance(){
|
||||||
static glfw_system inst;
|
static glfw_system inst;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user