diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-09-22 18:51:41 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-09-23 10:32:52 +0100 |
commit | 31f1571d1f6e325c16833afbb6e15b61561e5f1f (patch) | |
tree | 9493fb1359ee19048ea0b7b787cecc5cfa5de323 /src/gallium/state_trackers/wgl/stw_device.h | |
parent | f8c11526c0034faca7b7e3ab01ab85206847f441 (diff) |
wgl: Eliminate the shared layer; implement WGL API on top of the ICD callbacks.
While the WGL API has been stale for decades now, the ICD interface has
been updated with new Windows versions, so it is much easier to define
everything in terms of the ICD interfaces, which is pretty much what
Microsoft's opengl32.dll does anyway.
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_device.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_device.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_device.h b/src/gallium/state_trackers/wgl/stw_device.h index e1bb9518dd..5e4e3d6180 100644 --- a/src/gallium/state_trackers/wgl/stw_device.h +++ b/src/gallium/state_trackers/wgl/stw_device.h @@ -29,11 +29,10 @@ #define STW_DEVICE_H_ -#include <windows.h> - #include "pipe/p_compiler.h" #include "pipe/p_thread.h" #include "util/u_handle_table.h" +#include "stw_icd.h" #include "stw_pixelformat.h" @@ -69,7 +68,7 @@ struct stw_device }; struct stw_context * -stw_lookup_context_locked( UINT_PTR hglrc ); +stw_lookup_context_locked( DHGLRC hglrc ); extern struct stw_device *stw_dev; |