Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
luoganda is currently offline  luoganda
Messages: 194
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create a hidden folder?
Next Topic: is memsetex really at optimal speed?
Goto Forum:
  


Current Time: Sat Apr 20 12:16:44 CEST 2024

Total time taken to generate the page: 0.03400 seconds