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 #58617 is a reply to message #58615] |
Mon, 04 July 2022 00:41   |
 |
mirek
Messages: 14256 Registered: November 2005
|
Ultimate Member |
|
|
Does not crash for me, but backtrace is helpful. You have not posted the screenshot, but it appears like "Writes to freed blocks detected" issue?
Obviously, this is is not detected with USEMALLOC for simple reason that normal allocator does not have any such detected.
Anyway, probably the problem is somewhere about image cache recycling/freeing (related to rendering the text). Can you try with
w.DrawLine(80, 90, 400, 0, PEN_DASHDOT);
// w.DrawImage(200, 10, CtrlImg::reporticon());
// w.DrawImage(280, 10, CtrlImg::reporticon(), Red());
const char *text = "This text is centered";
Size tsz = GetTextSize(text, Arial(25).Bold());
// w.DrawText((sz.cx - tsz.cx) / 2, (sz.cy - tsz.cy) / 2, text, Arial(27).Bold(), SBlue);
w.Clipoff(200, 50, 95, 100);
// w.DrawText(0, 80, "CLIPPED", Roman(25));
w.End();
// for(int angle = 0; angle < 360; angle += 30)
// w.DrawText(sz.cx - sz.cx / 3, sz.cy - sz.cy / 3, angle * 10, "x Text with angle " + AsString(angle));
just to test if we are onto something?
|
|
|
 |
|
[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 23:43:27 CEST 2025
Total time taken to generate the page: 0.01944 seconds
|