Showing posts with tag: #opengl


Gorgeous na Shock!

So I managed to sit down and get working on while watching a video essay in the background on the brutality of capital punishment by a guy who looked like Matt Walsh's good twin.

Turns out the problem setting the context was pixel format nonsense from GDI. Once I figured that out (and that a 32-bit float in Visual Basic 4 is called a Single), marshaling the calls from Opengl32.dll was simple.

I'm actually impressed! Non-flickery and even the controls sit over it! What fun.


Some improvements, but I just can't seem to get away from every few launches having a NULL hRC return from wglCreateContext. Seems to happen almost 100% of the time from a compiled EXE.

Source code available so everyone can learn and become champions: github.com/indigoparadox/vb4gl

by Gorgeous na Shock! ;

Tags: #opengl #vb4


Likes: 0

Replies: 1

Boosts: 0