DaZhu / quickwidget

Automatically exported from code.google.com/p/quickwidget
0 stars 0 forks source link

Crash during resize #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Comment out the transparent background and frameless window hints in init()
2. Run program and resize window

What is the expected output? What do you see instead?
Application crash caused at:
glReadPixels(0, 0, width(), height(), fmt, GL_UNSIGNED_BYTE,
 static_cast<QImage*>(backingStore()->paintDevice())->bits());

I think fbo also needs to be resized though doing so doesn't fix this.

Original issue reported on code.google.com by jus...@shadowpsi.net on 2 Jan 2013 at 2:07

GoogleCodeExporter commented 8 years ago
I thought this would be a problem someday. Fixing this will involve some thread 
synchronization between the GUI and the rendering thread. Note that 
translucency is not guaranteed without the Qt::FramelessWindowHint.

Original comment by janez...@gmail.com on 3 Jan 2013 at 11:38