Added dummy gamma controls to linux
This commit is contained in:
parent
99588933cf
commit
f0c94451e9
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue