PDA

View Full Version : Vertex array problem under Parallels Desktop 7



Devdept2
06-07-2012, 05:04 AM
Does anybody have any problems using OpenGL with vertex array under Parallels Desktop?

tonyo_au
06-07-2012, 11:52 PM
I can't comment directly but I can't use OpenGL with remote connect because it gets confused about which graphics card is being used. If you are having problems it may be initialising with the wrong driver; check inside the program and make sure the OpenGL version is the one you are expecting.

Devdept2
06-08-2012, 01:23 AM
I think I found the problem:

I was calling

glEnable(gl.VERTEX_ARRAY)

instead of

glEnableClientState(gl.VERTEX_ARRAY)

Strange that I got the GL_INVALID_ENUM error only under Parallels Desktop though...

tonyo_au
06-08-2012, 02:10 AM
Just for your interest glEnableClientState and associated functions are now depreciated