shared context and rename config filer
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ void window_events() { glfwPollEvents(); }
|
||||
|
||||
double window_get_time() { return glfwGetTime(); }
|
||||
|
||||
void window_use(Window *window, Context *context) {
|
||||
void window_use(Window *window, SharedContext *context) {
|
||||
glfwMakeContextCurrent(window);
|
||||
glfwGetFramebufferSize(window, &context->width, &context->height);
|
||||
context->internal_width = (int)(context->internal_height *
|
||||
|
||||
Reference in New Issue
Block a user