From 7ba98344b63f436e219adeb7edd463bd1066f087 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 20 Jan 2019 14:56:40 +0530 Subject: [PATCH] Cleanup commit from upstream https://github.com/glfw/glfw/commit/2053f3ed22afa1e3cabed04d94bcaa0e69d543c7 --- glfw/context.c | 3 +-- glfw/wgl_context.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/glfw/context.c b/glfw/context.c index fd344cf15..1d7fefff7 100644 --- a/glfw/context.c +++ b/glfw/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) @@ -755,4 +755,3 @@ GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname) return window->context.getProcAddress(procname); } - diff --git a/glfw/wgl_context.c b/glfw/wgl_context.c index 9a370b7ea..c826006df 100644 --- a/glfw/wgl_context.c +++ b/glfw/wgl_context.c @@ -389,7 +389,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); @@ -741,4 +741,3 @@ GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* handle) return window->context.wgl.handle; } -