From 2053f3ed22afa1e3cabed04d94bcaa0e69d543c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 17 Jan 2019 00:11:17 +0100 Subject: [PATCH] Cleanup --- src/context.c | 2 +- src/wgl_context.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/context.c b/src/context.c index fd344cf1..38508522 100644 --- a/src/context.c +++ b/src/context.c @@ -358,7 +358,7 @@ GLFWbool _glfwRefreshContextAttribs(_GLFWwindow* window, window->context.source = ctxconfig->source; window->context.client = GLFW_OPENGL_API; - previous = _glfwPlatformGetTls(&_glfw.contextSlot);; + previous = _glfwPlatformGetTls(&_glfw.contextSlot); glfwMakeContextCurrent((GLFWwindow*) window); window->context.GetIntegerv = (PFNGLGETINTEGERVPROC) diff --git a/src/wgl_context.c b/src/wgl_context.c index 06ba8b55..b12ca91a 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -377,7 +377,7 @@ GLFWbool _glfwInitWGL(void) // NOTE: This code will accept the Microsoft GDI ICD; accelerated context // creation failure occurs during manual pixel format enumeration - dc = GetDC(_glfw.win32.helperWindowHandle);; + dc = GetDC(_glfw.win32.helperWindowHandle); ZeroMemory(&pfd, sizeof(pfd)); pfd.nSize = sizeof(pfd);