summaryrefslogtreecommitdiff
path: root/src/mesa/main/depthstencil.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2009-04-02 23:38:34 +0200
committerRoland Scheidegger <sroland@vmware.com>2009-04-02 23:38:34 +0200
commitebc1478e501d43e0de54e7b6c3edfbc81d7d20c6 (patch)
treee7b6325a67e1428fafc929238cada7ba9147b378 /src/mesa/main/depthstencil.c
parent7b9bf395433b5fa9d5a95186891a29d49e0b47c0 (diff)
mesa: fix TexParameter functions
premature return in TexParameterf caused mesa to never call Driver.TexParameter breaking drivers relying on this (fix bug #20966). While here, also fix using ctx->ErrorValue when deciding to call Driver.TexParameter. Errors are sticky and uncleared errors thus would cause this to no longer get called. Since we thus need return value of set_tex_parameter[if] can also optimize this to only call when value changed.
Diffstat (limited to 'src/mesa/main/depthstencil.c')
0 files changed, 0 insertions, 0 deletions