-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Im on MacOS Mojave and compiling with Xcode 10
I am getting a SIGART at bricksmith_bsupnik/trunk/Bricksmith/Source/LDraw/Support/LDrawGLRenderer.m, line 232:
assert(glIsEnabled(GL_VERTEX_ARRAY));
It seems to be that GL_VERTEX_BUFFER was not enabled.
This is also true for:
assert(glIsEnabled(GL_NORMAL_ARRAY));
assert(glIsEnabled(GL_COLOR_ARRAY));
I put in LDrawGLView.m - internalInit - the following statements, just after
// CGLEnable(CGLGetCurrentContext(), kCGLCEMPEngine);
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_COLOR_ARRAY);
I am not sure what I am doing - I am not an OpenGL expert. But with these 3 statements, Bricksmith starts, but the windows managed by OpenGL are gray.
Are you using Xcode 9?
Metadata
Metadata
Assignees
Labels
No labels