Home » U++ Library support » U++ Core » [FIXED] GLDraw,GLCtrl would be nice to work properly (OpenGL ver must be >= 2.1 with full-caps)
[FIXED] GLDraw,GLCtrl would be nice to work properly [message #58555] |
Fri, 17 June 2022 12:54  |
luoganda
Messages: 212 Registered: November 2016
|
Experienced Member |
|
|
Since this are a part of nonBazaar core packages,
this would be nice to work properly.
I tested this on w7x64 with latest upp-included-clang(16299) and msvc17
producing 32bit debug executable with reference example - GLDrawDemo.
But for this - i used msvc17 since debugger gave me a little more info.
I have also tested this with producing 64bit code,
but it was even worse(only blank white screen).
Anyhow, i attached screenshots where bug happens,
if one is a little bit more familiar with underlying code,
one could probably resolve this quite easily.
Commented code also mostly all produces such bugs.
~~~~~
Bazaar(uppHub) thing:
i suggest - don't throw away Bazaar archive - it has a lot of usefull code.
I didn't for example found Serial package or non-bazaar FontSel(dialog)
in uppHub(maybe i overlooked something), which are mostly just copy/paste
packages - since all works out of the box.
For Serial bazaar package i just added this, to adjust a few things,
for linux, i am not sure if this is needed or how it's done.
void SetWriteTimeout(dword ms){
COMMTIMEOUTS ct;memset(&ct,0,sizeof(ct));
ct.WriteTotalTimeoutConstant=ms;SetCommTimeouts(fd,&ct);
}
void SetTimeouts(dword msRead,dword msWrite){
COMMTIMEOUTS ct;memset(&ct,0,sizeof(ct));
ct.ReadIntervalTimeout=ct.ReadTotalTimeoutMultiplier=MAXDWORD;
ct.ReadTotalTimeoutConstant=msRead;
/*ct.WriteTotalTimeoutMultiplier=MAXDWORD;*/
ct.WriteTotalTimeoutConstant=msWrite; SetCommTimeouts(fd,&ct);
}
[Updated on: Mon, 25 December 2023 12:29] Report message to a moderator
|
|
|
 |
|
[FIXED] GLDraw,GLCtrl would be nice to work properly
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: Klugier on Sat, 18 June 2022 09:53
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: mirek on Sun, 19 June 2022 20:16
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: Klugier on Wed, 22 June 2022 01:39
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: mirek on Sun, 03 July 2022 20:55
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: Klugier on Sun, 03 July 2022 22:51
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: mirek on Mon, 04 July 2022 00:41
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: mirek on Mon, 04 July 2022 01:04
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: Klugier on Mon, 04 July 2022 23:36
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: mirek on Tue, 05 July 2022 01:05
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: Klugier on Tue, 05 July 2022 10:44
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: mirek on Tue, 05 July 2022 11:13
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: Klugier on Tue, 05 July 2022 11:28
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: mirek on Sun, 03 July 2022 21:00
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: luoganda on Mon, 25 December 2023 11:24
|
 |
|
Re: GLDraw,GLCtrl would be nice to work properly
By: Klugier on Mon, 25 December 2023 17:06
|
Goto Forum:
Current Time: Tue Apr 29 19:43:58 CEST 2025
Total time taken to generate the page: 0.01283 seconds
|