Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Taking snapshot of GLCtrl no longer works
Taking snapshot of GLCtrl no longer works [message #52184] |
Mon, 05 August 2019 12:20 |
Tom1
Messages: 1212 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
I have not worked with GLCtrl for a while. Now as I tried to recompile my old program, I found out that my code taking snapshot of the GLCtrl contents no longer works. It just returns a black image:
Size sz=GetSize();
ImageBuffer ib(sz);
glReadPixels(0,0,sz.cx,sz.cy,GL_BGRA_EXT,GL_UNSIGNED_BYTE,(GLvoid*)(RGBA*)ib);
Any suggestions how to proceed?
Best regards,
Tom
|
|
|
|
|
Taking snapshot of GLCtrl no longer works
By: Tom1 on Mon, 05 August 2019 12:20
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: Tom1 on Wed, 07 August 2019 14:50
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: Tom1 on Wed, 07 August 2019 16:45
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: mirek on Fri, 09 August 2019 09:13
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: mirek on Fri, 09 August 2019 09:26
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: Tom1 on Fri, 09 August 2019 11:00
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: Tom1 on Fri, 09 August 2019 14:00
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: mirek on Fri, 09 August 2019 16:29
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: Tom1 on Mon, 12 August 2019 08:52
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: koldo on Sun, 11 August 2019 18:45
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: Tom1 on Mon, 12 August 2019 07:42
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: koldo on Mon, 12 August 2019 16:00
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: mirek on Mon, 12 August 2019 21:50
|
|
|
Re: Taking snapshot of GLCtrl no longer works
By: Tom1 on Tue, 13 August 2019 09:07
|
Goto Forum:
Current Time: Tue Mar 19 13:38:07 CET 2024
Total time taken to generate the page: 0.01362 seconds
|