From bb30a6da66a108ec85eec24b49b9749e80a70c06 Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 6 May 2012 18:06:15 +0100 Subject: [PATCH] Fixed missing cast in win32 GL code. --- modules/juce_opengl/native/juce_OpenGL_win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_opengl/native/juce_OpenGL_win32.h b/modules/juce_opengl/native/juce_OpenGL_win32.h index 57473c2144..3e7fc2df4d 100644 --- a/modules/juce_opengl/native/juce_OpenGL_win32.h +++ b/modules/juce_opengl/native/juce_OpenGL_win32.h @@ -68,7 +68,7 @@ public: } if (contextToShareWith != nullptr) - wglShareLists (contextToShareWith, renderContext); + wglShareLists ((HGLRC) contextToShareWith, renderContext); component.getTopLevelComponent()->repaint(); component.repaint();