[Plib-users] Buiding Sky using the functions in ssgaSky
Brought to you by:
sjbaker
From: Michael W. <mic...@ti...> - 2004-06-27 18:57:15
|
Hi all, with the new function build in ssgaSky I tried to create the sky in my simulation. The code was compiled and linked with VC++ 6.2 . But in the execution of sky->preDraw() : it runs in the following error "Nicht abgefangene Ausnahme in FDS.exe: 0xC0000005: Access Violation" at the function glDrawArrays ( gltype, 0, num_vertices ) ; in void ssgVtxTable::draw_geometry () { ........ ........ glDrawArrays ( gltype, 0, num_vertices ) ; ........ ........ } The parameter num_vertices has the value 0 . What is going wrong ? Best regards Michael |