From da97bc022020546455b293aea25dba3ee59152f5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 9 Dec 2010 23:27:18 +0100 Subject: NEWT/Windows: Use GDI GetDC/ReleaseDC --- src/newt/native/WindowsWindow.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/newt/native/WindowsWindow.c') diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index b282ec9b2..0a675157d 100644 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -1447,28 +1447,6 @@ JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_windows_WindowsWindow_DestroyWi DestroyWindow((HWND) (intptr_t) window); } -/* - * Class: com_jogamp_newt_impl_windows_WindowsWindow - * Method: GetDC - * Signature: (J)J - */ -JNIEXPORT jlong JNICALL Java_com_jogamp_newt_impl_windows_WindowsWindow_GetDC0 - (JNIEnv *env, jobject obj, jlong window) -{ - return (jlong) (intptr_t) GetDC((HWND) (intptr_t) window); -} - -/* - * Class: com_jogamp_newt_impl_windows_WindowsWindow - * Method: ReleaseDC - * Signature: (JJ)V - */ -JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_windows_WindowsWindow_ReleaseDC0 - (JNIEnv *env, jobject obj, jlong window, jlong dc) -{ - ReleaseDC((HWND) (intptr_t) window, (HDC) (intptr_t) dc); -} - /* * Class: com_jogamp_newt_impl_windows_WindowsWindow * Method: MonitorFromWindow -- cgit v1.2.3