src/window.c

changeset 34
45d29d7221cc
parent 29
1d001eb694dc
child 37
8a8cc6725b48
equal deleted inserted replaced
33:e7ddb52facd3 34:45d29d7221cc
205 } 205 }
206 } 206 }
207 207
208 void asc_window_activate(AscWindow const *window) { 208 void asc_window_activate(AscWindow const *window) {
209 SDL_GL_MakeCurrent(window->window, window->glctx); 209 SDL_GL_MakeCurrent(window->window, window->glctx);
210 asc_context.active_window = window; 210 asc_context.active_window = (AscWindow *)window;
211 } 211 }

mercurial