[GtkGLExt] Problem choosing pixel format
- From: Jon Kinsey <jon_kinsey hotmail com>
- To: gtkglext-list gnome org
- Subject: [GtkGLExt] Problem choosing pixel format
- Date: Wed, 03 May 2006 15:57:17 +0100
Hello,
I'm using the render to pixmap functionality (like the pixmap demo), it
fails on my windows machine at certain window/pixmap resolutions.
Looking into this I've found that there are two problems, at certain
resolutions there is only a valid pixel format with PFD_DRAW_TO_WINDOW
set (as well as PFD_DRAW_TO_BITMAP) and 32 bit pixmaps don't work.
A solution is to try a variety of (PIXELFORMATDESCRIPTOR) settings until
hopefully one that works is found.
I've hacked a version of gdkglpixmap-win32.c that works better locally,
not sure what the best solution is.
Jon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]