mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-28 19:34:18 +01:00
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
This commit is contained in:
parent
56178d97fd
commit
dd41c22da7
|
|
@ -339,7 +339,7 @@ static int findPixelFormatFromBPP(JNIEnv *env, HDC hdc, jobject pixel_format, in
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue