diff options
author | Ted Jump <[email protected]> | 1999-10-30 18:34:48 +0000 |
---|---|---|
committer | Ted Jump <[email protected]> | 1999-10-30 18:34:48 +0000 |
commit | 364b56a20ef679805427121308db0e6a13e10b8c (patch) | |
tree | d88b76d2170285a776cd5054c62e8b47e2146573 /src/mesa/drivers/glide/fxwgl.c | |
parent | 12cc2bfff76a386533e9675e8ad03a698a2e7bf3 (diff) |
Added checking for FXMESA_USE_ARGB to disable pixel reformatting when not appropriate
Diffstat (limited to 'src/mesa/drivers/glide/fxwgl.c')
-rw-r--r-- | src/mesa/drivers/glide/fxwgl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c index 7b19176c7ef..c1db7b88bdc 100644 --- a/src/mesa/drivers/glide/fxwgl.c +++ b/src/mesa/drivers/glide/fxwgl.c @@ -799,6 +799,7 @@ BOOL GLAPIENTRY wglSwapBuffers(HDC hdc) * display. Obviously, it's performance hit will be higher on larger displays and * less on smaller displays. To support the window-hack display this is probably fine. */ +#if FXMESA_USE_ARGB { unsigned long *pixel = dibSurfacePtr; unsigned long count = (width * height) / 2; @@ -811,7 +812,8 @@ BOOL GLAPIENTRY wglSwapBuffers(HDC hdc) ; } } - +#endif + BitBlt(hdcScreen, 0, 0, width, height, hdcDIBSection, |