Showing posts with tag: #vb4
Gorgeous na Shock!
|
In response to this post 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 #vb4 champions: https://github.com/indigoparadox/vb4gl
Tags: #vb4 Likes: 0 Replies: 0 Boosts: 0 |
Gorgeous na Shock!
|
So I managed to sit down and get #opengl working on #vb4 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.
Likes: 0 Replies: 1 Boosts: 0 |
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 #vb4 champions: https://github.com/indigoparadox/vb4gl
by Gorgeous na Shock! ;