GLBasic forum

Main forum => GLBasic - en => Topic started by: bigsofty on 2011-Apr-06

Title: GLBasic rendering context pointer?
Post by: bigsofty on 2011-Apr-06
Hi,

I had this info but can't find it on my computer or doing a forum search. How do you retrieve the OpenGL rendering context pointer that GLBasic uses?

Many thanks,


Ian
Title: Re: GLBasic rendering context pointer?
Post by: Kitty Hello on 2011-Apr-06
I have no idea.
You can get the HDC with GetDC(GLBASIC_WHND()); ... ::ReleaseDC(hDC);

But how to get the HGLRC - I have no idea.
Title: Re: GLBasic rendering context pointer?
Post by: bigsofty on 2011-Apr-07
Np, thanks anyways,


Ian