mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
wined3d: Remove some redundant code.
This commit is contained in:
parent
9e8f2a7024
commit
46b4c15a31
1 changed files with 0 additions and 8 deletions
|
@ -341,18 +341,10 @@ static GLuint pixelshader_compile(IWineD3DPixelShaderImpl *This, const struct ps
|
|||
CONST DWORD *function = This->baseShader.function;
|
||||
GLuint retval;
|
||||
SHADER_BUFFER buffer;
|
||||
const struct wined3d_shader_frontend *fe;
|
||||
IWineD3DDeviceImpl *device = (IWineD3DDeviceImpl *) This->baseShader.device;
|
||||
|
||||
TRACE("(%p) : function %p\n", This, function);
|
||||
|
||||
fe = shader_select_frontend(This->baseShader.reg_maps.shader_version);
|
||||
if (!fe)
|
||||
{
|
||||
FIXME("Unable to find frontend for shader.\n");
|
||||
return WINED3DERR_INVALIDCALL;
|
||||
}
|
||||
|
||||
pixelshader_update_samplers(&This->baseShader.reg_maps,
|
||||
((IWineD3DDeviceImpl *)This->baseShader.device)->stateBlock->textures);
|
||||
|
||||
|
|
Loading…
Reference in a new issue