diff options
author | Sven Gothel <[email protected]> | 2010-12-09 23:27:18 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-12-09 23:27:18 +0100 |
commit | da97bc022020546455b293aea25dba3ee59152f5 (patch) | |
tree | 381fcf2a19231d24b4c8610d023ee925a1b16d5e /src/newt/native | |
parent | a247475fa8834a289de0d86b6928b2c191ebf50d (diff) |
NEWT/Windows: Use GDI GetDC/ReleaseDC
Diffstat (limited to 'src/newt/native')
-rw-r--r-- | src/newt/native/WindowsWindow.c | 22 |
1 files changed, 0 insertions, 22 deletions
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 @@ -1449,28 +1449,6 @@ JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_windows_WindowsWindow_DestroyWi /* * 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 * Signature: (J)J */ |