Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT and opengl usage problem

Title: SWT and opengl usage problem

Hi,
i'm using the SWT OpenGL's binding library and i've got some problem using the glVertexPointer feature.
I cannot use the glDrawElements without having a JVM crash problem. Is there anything to do ?

are my coordinates wrong ? what kind of values should be given...

Furthermore, glVertexPointer only takes int[] as pointer, wich is very limited as coordinates for graphic rendering.

thanks,
Arnauld

<<Exception.stack trace>>

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x1816E32B
Function=DrvSetLayerPaletteEntries+0x2641B
Library=C:\WINNT\system32\ialmgicd.dll
Current Java thread:
at org.eclipse.swt.opengl.GL.glDrawElements(Native Method)
...


Back to the top