I tried using dglOpenGL.pas with the SDL demos.
Replacing the unit OpenGL12.pas with dglOpenGL.pas and making the required changes so it compiles.
When running the application, as soon as any OpenGL call is made I get a access violation.
Anyone have a idea of what is the cause of this and how it can be fixed?
Registriert: Mi Dez 15, 2004 20:36 Beiträge: 454 Wohnort: Wien, Österreich
Zitat:
ActivateRenderingContext(mydc, myrc);
Without this line you can´t go on, because that is the place where all the functions pointer of OpenGL library are loaded. That is the reason why you get "Access violation" message, all pointers are = NIL. So any call to glXXX is a Access violation itself.
And sorry i can´t help you, have no knowlege on SDL.
_________________ "Meine Mutter sagt : 'Dumm ist der, der Dummes tut'." - Forrest Gump
Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.