From 45fbdfad6cb366600a67eba844f22ba547fafef3 Mon Sep 17 00:00:00 2001 From: gloriouseggroll Date: Mon, 19 Feb 2018 15:35:50 -0500 Subject: [PATCH] wined3d-1DTextures: 0004 fix compiling-4 --- .../0004-wined3d-Create-dummy-1d-textures-and-surfaces.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/wined3d-1DTextures/0004-wined3d-Create-dummy-1d-textures-and-surfaces.patch b/patches/wined3d-1DTextures/0004-wined3d-Create-dummy-1d-textures-and-surfaces.patch index e8f1767b..80ec5827 100644 --- a/patches/wined3d-1DTextures/0004-wined3d-Create-dummy-1d-textures-and-surfaces.patch +++ b/patches/wined3d-1DTextures/0004-wined3d-Create-dummy-1d-textures-and-surfaces.patch @@ -107,7 +107,7 @@ index 2a172ee..f81d7cf 100644 + if ((desc->usage & WINED3DUSAGE_DYNAMIC && (desc->access == WINED3D_RESOURCE_ACCESS_GPU | WINED3D_RESOURCE_ACCESS_CPU | WINED3D_RESOURCE_ACCESS_MAP)) + || desc->usage & WINED3DUSAGE_SCRATCH) + { -+ WARN("Attempted to create a DYNAMIC texture in pool %s.\n", debug_d3dpool(desc->pool)); ++ WARN("Attempted to create a DYNAMIC texture in pool %s.\n", debug_d3dpool(desc->access)); + return WINED3DERR_INVALIDCALL; + } + @@ -127,7 +127,7 @@ index 2a172ee..f81d7cf 100644 + + if (desc->usage & WINED3DUSAGE_QUERY_GENMIPMAP) + { -+ if (!gl_info->supported[SGIS_GENERATE_MIPMAP]) ++ if (!mipmap_gen_supported) + { + WARN("No mipmap generation support, returning WINED3DERR_INVALIDCALL.\n"); + return WINED3DERR_INVALIDCALL;