FLTK logo

state of OpenGL context before fl::run

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
 All Forums  |  Back to fltk.opengl  ]
 
Previous Message ]New Message | Reply ]Next Message ]

state of OpenGL context before fl::run bmora Apr 06, 2011  
 
Hi,
I would like to get access to the OpenGL context handles before calling fl::run. Is is just impossible, or is there a trick?

I am using the following piece of code to get the OpenGL context:

	HDC hdc=wglGetCurrentDC();
	HGLRC hlrc=wglGetCurrentContext();

Cheers
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.