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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user