Skip to content
Permalink
Browse files

Removed fullscreen CDS_TEST. It's very slow and unnecessary.

  • Loading branch information
Spasi committed Dec 3, 2013
1 parent 0d70b5a commit 1703b62ed54b201e0c2ec57958a342da99aee22a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/native/windows/display.c
@@ -95,7 +95,7 @@ jobjectArray getAvailableDisplayModes(JNIEnv * env) {
while(EnumDisplaySettings((const char *) DisplayDevice.DeviceName, j++, &DevMode) != 0) {*/
while(EnumDisplaySettings(NULL, j++, &DevMode) != 0) {
// Filter out indexed modes
if (DevMode.dmBitsPerPel > 8 && ChangeDisplaySettings(&DevMode, CDS_FULLSCREEN | CDS_TEST) == DISP_CHANGE_SUCCESSFUL) {
if (DevMode.dmBitsPerPel > 8) {
jobject displayMode;
if (list_size <= n) {
list_size += 1;

0 comments on commit 1703b62

Please sign in to comment.
You can’t perform that action at this time.