Added dummy gamma controls to linux

This commit is contained in:
Elias Naur 2003-04-07 17:04:24 +00:00
parent 99588933cf
commit f0c94451e9
2 changed files with 23 additions and 0 deletions

View File

@ -222,3 +222,25 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_Display_getPlatform
{
return org_lwjgl_Display_PLATFORM_GLX;
}
/*
* Class: org_lwjgl_Display
* Method: getGammaRamp
* Signature: ()[I
*/
JNIEXPORT jboolean JNICALL Java_org_lwjgl_Display_getGammaRamp
(JNIEnv * env, jclass clazz, jintArray red, jintArray green, jintArray blue)
{
return false;
}
/*
* Class: org_lwjgl_Display
* Method: setGammaRamp
* Signature: ([I[I[I)V
*/
JNIEXPORT jboolean JNICALL Java_org_lwjgl_Display_setGammaRamp
(JNIEnv * env, jclass clazz, jintArray red, jintArray green, jintArray blue)
{
return false;
}

View File

@ -43,6 +43,7 @@
#include <sys/time.h>
#include <sys/resource.h>
#include "org_lwjgl_Sys.h"
#include <signal.h>
long int hires_timer_freq; // Hires timer frequency
long int hires_timer_start; // Hires timer start