mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
st/nine: Do not set SHARED flag for shared textures.
We do not support shared textures, thus no need to set the shared flag. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
parent
77a5871c1d
commit
36b4bb303c
1 changed files with 0 additions and 3 deletions
|
|
@ -140,9 +140,6 @@ NineTexture9_ctor( struct NineTexture9 *This,
|
|||
DBG("Application asked for Software Vertex Processing, "
|
||||
"but this is unimplemented\n");
|
||||
|
||||
if (pSharedHandle)
|
||||
info->bind |= PIPE_BIND_SHARED;
|
||||
|
||||
if (pSharedHandle && *pSharedHandle) { /* Pool == D3DPOOL_SYSTEMMEM */
|
||||
user_buffer = (void *)*pSharedHandle;
|
||||
level_offsets = alloca(sizeof(unsigned) * (info->last_level + 1));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue