Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Updating GLEW to version 2.2.0 for 2020.2 Release (March 2020)
Re: Updating GLEW to version 2.2.0 for 2020.2 Release [message #54675 is a reply to message #54669] |
Mon, 31 August 2020 00:35 |
|
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
mirek wrote on Sun, 30 August 2020 19:42Xemuth wrote on Sat, 29 August 2020 20:00
Also, GLCtrl have a strange behavior concerning context (A behavior I changed in my own GLCtrl) :
When ExecuteGL is call, in original version it do this :
void GLCtrl::GLPane::ExecuteGL(HDC hDC, Event<> paint, bool swap_buffers){
/**** CODE ****/
wglMakeCurrent(hDC, s_openGLContext); //Hooking the OpenGL Context
/***** Code / Swap buffer etc .... *****/
wglMakeCurrent(NULL, NULL); //Releasing the current OpenGL Context
}
This aquisition then releasing is problematique since it prevent you to execute some OpenGL code outside of GLPaint function.
This is needed so that you can have multiple GLCtrls in multiple windows. If you need to execute OpenGL code outside of GLPaint function, just use ExecuteGL (it is in fact inteded for that use).
Mirek
Indeed it work, thanks for the tips
|
|
|
|
|
Updating GLEW to version 2.2.0 for 2020.2 Release
By: Klugier on Sat, 29 August 2020 18:41
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Xemuth on Sat, 29 August 2020 19:25
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Xemuth on Sat, 29 August 2020 20:00
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: mirek on Sun, 30 August 2020 19:42
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Klugier on Sun, 30 August 2020 22:04
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: mirek on Mon, 31 August 2020 00:01
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Klugier on Mon, 31 August 2020 00:23
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Xemuth on Mon, 31 August 2020 00:35
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Xemuth on Sat, 29 August 2020 20:22
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Klugier on Sat, 29 August 2020 21:06
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Xemuth on Mon, 31 August 2020 01:58
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Xemuth on Mon, 31 August 2020 02:28
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Klugier on Mon, 31 August 2020 22:30
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Xemuth on Tue, 01 September 2020 02:58
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Novo on Wed, 02 September 2020 01:03
|
|
|
Re: Updating GLEW to version 2.2.0 for 2020.2 Release
By: Klugier on Wed, 02 September 2020 01:14
|
Goto Forum:
Current Time: Mon May 13 02:42:53 CEST 2024
Total time taken to generate the page: 0.01467 seconds
|