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
|