mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Removed superfluous cast.
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ static void error_callback(int error, const char* description)
|
|||||||
|
|
||||||
static int thread_main(void* data)
|
static int thread_main(void* data)
|
||||||
{
|
{
|
||||||
const Thread* thread = (const Thread*) data;
|
const Thread* thread = data;
|
||||||
|
|
||||||
glfwMakeContextCurrent(thread->window);
|
glfwMakeContextCurrent(thread->window);
|
||||||
glfwSwapInterval(1);
|
glfwSwapInterval(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user