Re: [AD] Recent WGL changes causing errors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-10-09, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> Milan's patch from earlier today has made Allegro unbuildable for me
> on Windows/MinGW. I attached the build log.

Same here.  Problems with missing HVIDEOOUTPUTDEVICENV, HPVIDEODEV,
HGPUNV.

diff --git a/include/allegro5/opengl/GLext/wgl_ext_api.h b/include/allegro5/opengl/GLext/wgl_ext_api.h
index 2ba901f..c51a487 100644
--- a/include/allegro5/opengl/GLext/wgl_ext_api.h
+++ b/include/allegro5/opengl/GLext/wgl_ext_api.h
@@ -115,17 +115,23 @@ AGL_API(BOOL, QueryFrameTrackingI3D, (DWORD *, DWORD *, float *))
 AGL_API(void, AddSwapHintRectWIN, (int, int, int, int))
 
 /* WGL_NV_present_video */
+#if 0
 AGL_API(int,  wglEnumerateVideoDevicesNV, (HDC, HVIDEOOUTPUTDEVICENV *))
 AGL_API(BOOL, wglBindVideoDeviceNV, (HDC, unsigned int, HVIDEOOUTPUTDEVICENV, const int *))
+#endif
 AGL_API(BOOL, wglQueryCurrentContextNV, (int, int *))
 
 /* WGL_NV_video_out */
+#if 0
 AGL_API(BOOL, wglGetVideoDeviceNV, (HDC, int, HPVIDEODEV *))
 AGL_API(BOOL, wglReleaseVideoDeviceNV, (HPVIDEODEV))
 AGL_API(BOOL, wglBindVideoImageNV, (HPVIDEODEV, HPBUFFERARB, int))
+#endif
 AGL_API(BOOL, wglReleaseVideoImageNV, (HPBUFFERARB, int))
 AGL_API(BOOL, wglSendPbufferToVideoNV, (HPBUFFERARB, int, unsigned long *, BOOL))
+#if 0
 AGL_API(BOOL, wglGetVideoInfoNV, (HPVIDEODEV, unsigned long *, unsigned long *))
+#endif
 
 /* WGL_NV_swap_group */
 AGL_API(BOOL, wglJoinSwapGroupNV, (HDC hDC, GLuint group))
@@ -136,9 +142,11 @@ AGL_API(BOOL, wglQueryFrameCountNV, (HDC hDC, GLuint *count))
 AGL_API(BOOL, wglResetFrameCountNV, (HDC hDC))
 
 /* WGL_NV_gpu_affinity */
+#if 0
 AGL_API(BOOL, wglEnumGpusNV, (UINT, HGPUNV *))
 AGL_API(BOOL, wglEnumGpuDevicesNV, (HGPUNV, UINT, PGPU_DEVICE))
 AGL_API(HDC,  wglCreateAffinityDCNV, (const HGPUNV *))
 AGL_API(BOOL, wglEnumGpusFromAffinityDCNV, (HDC, UINT, HGPUNV *))
+#endif
 AGL_API(BOOL, wglDeleteDCNV, (HDC))
 






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/