Nientai Ho
Nientai Ho

Reputation: 33

MacOS Mojave Xcode 10 + OpenGL not drawn after init window

I have encountered a problem with Xcode 10 when I run OpenGL GLFW and GLEW c++ code. The windows do init but the drawing is hidden before I tried to move the window frame by mouse. How can I solve this problem?

Before I move window

After I move window

Upvotes: 2

Views: 654

Answers (2)

yairchu
yairchu

Reputation: 24814

This is a known bug which is now solved at GLFW's source repository

Upvotes: 1

Brendan Shanks
Brendan Shanks

Reputation: 3236

SDL had a similar problem, see this change for their (current) fix:

https://hg.libsdl.org/SDL/rev/86dcfbbcacaf

Upvotes: 1

Related Questions