OSDN Git Service

st/nine: Remove Managed texture hack.
authorAxel Davy <axel.davy@ens.fr>
Fri, 20 Feb 2015 11:59:45 +0000 (12:59 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 29 Apr 2015 06:28:11 +0000 (08:28 +0200)
commit231be57ee2515428e3de31f514effe9cf06bcda0
tree29bb0793f85dc1f72709f3ccf05df0dd147b0647
parent58d295d41e30434c570248eeee73af2006b79eea
st/nine: Remove Managed texture hack.

Previously binding an unitialized managed texture
was causing a crash, and a workaround was added to
prevent the crash.

This patch removes this workaround and instead set the initial
state of managed textures as dirty, so that when the texture is bound
for the first time, it is always initialized.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/basetexture9.c