|
From: <eli...@us...> - 2007-02-17 09:49:53
|
Revision: 2740
http://svn.sourceforge.net/java-game-lib/?rev=2740&view=rev
Author: elias_naur
Date: 2007-02-17 01:49:44 -0800 (Sat, 17 Feb 2007)
Log Message:
-----------
Windows: Don't exclude PFD_GENERIC_ACCELERATED formats when selecting pixel formats. Hopefully this will enable LWJGL to use the directx emulated opengl implementation on vista
Modified Paths:
--------------
trunk/LWJGL/src/native/windows/context.c
Modified: trunk/LWJGL/src/native/windows/context.c
===================================================================
--- trunk/LWJGL/src/native/windows/context.c 2007-02-12 12:18:26 UTC (rev 2739)
+++ trunk/LWJGL/src/native/windows/context.c 2007-02-17 09:49:44 UTC (rev 2740)
@@ -339,7 +339,7 @@
return -1;
}
- if ((desc.dwFlags & PFD_GENERIC_FORMAT) != 0 || (desc.dwFlags & PFD_GENERIC_ACCELERATED) != 0) {
+ if ((desc.dwFlags & PFD_GENERIC_FORMAT) != 0) {
jboolean allowSoftwareOpenGL = getBooleanProperty(env, "org.lwjgl.opengl.Display.allowSoftwareOpenGL");
// secondary check for software override
if(!allowSoftwareOpenGL) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|