*** empty log message ***

This commit is contained in:
Caspian Rychlik-Prince 2003-08-03 22:27:28 +00:00
parent 85c528039c
commit df0866d4fb
1 changed files with 4 additions and 2 deletions

View File

@ -47,6 +47,8 @@
#include "extgl.h" #include "extgl.h"
#include "checkGLerror.h" #include "checkGLerror.h"
extern HDC hdc;
static inline void * safeGetBufferAddress(JNIEnv *env, jobject buffer) { static inline void * safeGetBufferAddress(JNIEnv *env, jobject buffer) {
if (buffer == NULL) if (buffer == NULL)
return NULL; return NULL;
@ -3237,11 +3239,11 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL_wglGetCurrentReadDCARB(JNIEnv *
* Class: org_lwjgl_opengl_GL * Class: org_lwjgl_opengl_GL
* Method: wglGetExtensionsStringARB * Method: wglGetExtensionsStringARB
*/ */
JNIEXPORT jstring JNICALL Java_org_lwjgl_opengl_GL_wglGetExtensionsStringARB(JNIEnv * env, jclass clazz, jint p0) JNIEXPORT jstring JNICALL Java_org_lwjgl_opengl_GL_wglGetExtensionsStringARB(JNIEnv * env, jclass clazz)
{ {
#ifdef _WIN32 #ifdef _WIN32
if (wglGetExtensionsStringARB) if (wglGetExtensionsStringARB)
return env->NewStringUTF(wglGetExtensionsStringARB(GetDC((HWND) p0))); return env->NewStringUTF(wglGetExtensionsStringARB(hdc));
else else
return NULL; return NULL;
#else #else