Troubles with devisualization/window
Rikki Cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Apr 6 15:56:10 PDT 2015
On 7/04/2015 10:34 a.m., ddos wrote:
> it's getting warmer, window doesnt freeze anymore and opengl calls don't
> crash the window, but it's still all white after calling
> glClearColor(1,0,1,1);
> glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> updated src:
> https://github.com/oggs91/OpenVG_D/blob/master/demo_DvisualizationWT/source/app.d
Ohhh right, call swapBuffers on the context after drawing. Probably be
in the run loop (while).
More information about the Digitalmars-d-learn
mailing list