comparison src/video/win32/SDL_d3drender.c @ 1991:3863ba81c1d6

Clear the second texture stage explicitly
author Sam Lantinga <slouken@libsdl.org>
date Mon, 28 Aug 2006 17:35:15 +0000
parents 1ee02169bbb0
children 926294b2bb4e
comparison
equal deleted inserted replaced
1990:7b573c59cb1f 1991:3863ba81c1d6
398 D3DTOP_MODULATE); 398 D3DTOP_MODULATE);
399 IDirect3DDevice9_SetTextureStageState(data->device, 0, D3DTSS_ALPHAARG1, 399 IDirect3DDevice9_SetTextureStageState(data->device, 0, D3DTSS_ALPHAARG1,
400 D3DTA_TEXTURE); 400 D3DTA_TEXTURE);
401 IDirect3DDevice9_SetTextureStageState(data->device, 0, D3DTSS_ALPHAARG2, 401 IDirect3DDevice9_SetTextureStageState(data->device, 0, D3DTSS_ALPHAARG2,
402 D3DTA_DIFFUSE); 402 D3DTA_DIFFUSE);
403 /* Disable second texture stage, since we're done */
404 IDirect3DDevice9_SetTextureStageState(data->device, 1, D3DTSS_COLOROP,
405 D3DTOP_DISABLE);
406 IDirect3DDevice9_SetTextureStageState(data->device, 1, D3DTSS_ALPHAOP,
407 D3DTOP_DISABLE);
403 408
404 return renderer; 409 return renderer;
405 } 410 }
406 411
407 static int 412 static int