From 2e1868b560315a8b20d688e646c489a5ad93eeae Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 16 Jun 2004 09:25:21 +0000 Subject: DRI trunk-20040613 import --- GL/glx/g_renderswap.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'GL/glx/g_renderswap.c') diff --git a/GL/glx/g_renderswap.c b/GL/glx/g_renderswap.c index 6a199d8c7..5c74d2598 100644 --- a/GL/glx/g_renderswap.c +++ b/GL/glx/g_renderswap.c @@ -3364,3 +3364,15 @@ void __glXDispSwap_WindowPos3fARB(GLbyte *pc) *(GLfloat *)(pc + 8) ); } + +void __glXDispSwap_SampleCoverageARB(GLbyte *pc) +{ + __GLX_DECLARE_SWAP_VARIABLES; + __GLX_SWAP_FLOAT(pc + 0); + __GLX_SWAP_INT(pc + 4); + + glSampleCoverageARB( + *(GLfloat *)(pc + 0), + *(GLboolean *)(pc + 4) + ); +} -- cgit v1.2.3