Personal tools
You are here: Home Developer Resources Knowledgebase I am having problems displaying overlays on Linux with my NVIDIA card. The same code works on windows.
Document Actions

I am having problems displaying overlays on Linux with my NVIDIA card. The same code works on windows.



Answer:

The NVIDIA driver only offers RGBA overlays. The default setting in QGLFormat is to use an index-based overlays. You can switch to RGBA overlays using this code:

	QGLFormat f = QGLFormat::defaultOverlayFormat(); 
f.setRgba(true);
QGLFormat::setDefaultOverlayFormat(f);
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: