src/video/win32/SDL_d3drender.c
changeset 1991 3863ba81c1d6
parent 1988 1ee02169bbb0
child 2222 926294b2bb4e
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