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)
Re: GLDraw,GLCtrl would be nice to work properly [message #58621 is a reply to message #58620] Tue, 05 July 2022 01:05 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14256
Registered: November 2005
Ultimate Member
Klugier wrote on Mon, 04 July 2022 23:36
w.DrawText(sz.cx - sz.cx / 3, sz.cy - sz.cy / 3, angle * 10, "x   Text with angle " /*+ AsString(angle)*/);

Replacing AsString with IntStr cause the same error. I think the problem must be with utoa32 (Format.cpp) function and it's memory management on 32 bit architecture.

Klugier


Well, accidentally, AsString in this case does not allocate any memory.... Smile

What is more likely that glyphs for digits are maybe causing the problem. Maybe you can replace AsString with "123" ?

Mirek
 
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: Tue Apr 29 23:55:05 CEST 2025

Total time taken to generate the page: 0.00770 seconds