Skip to content
Snippets Groups Projects
Commit 4e7d555c authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4065 51575b47-30f0-44d4-a5cc-537603b46e54
parent f76e4c22
No related branches found
No related tags found
No related merge requests found
game/modules/tome/data/gfx/talents/golemancy_life_tap.png

4.72 KiB

......@@ -683,10 +683,10 @@ void do_resize(int w, int h, bool fullscreen)
printf("error opening screen: %s\n", SDL_GetError());
exit(1);
}
glewInit();
screen = SDL_GetWindowSurface(window);
maincontext = SDL_GL_CreateContext(window);
SDL_GL_MakeCurrent(window, maincontext);
glewInit();
}
else
{
......@@ -949,6 +949,7 @@ int main(int argc, char *argv[])
shaders_active = FALSE;
fbo_active = FALSE;
}
printf("===fbo %d\n", fbo_active);
// setupDisplayTimer(30);
init_blank_surface();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment