Created
November 29, 2014 17:11
-
-
Save sthalik/a2450186b2b0d3d8e79c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c | |
index 12da1e0..51bb2a6 100644 | |
--- a/src/gallium/state_trackers/nine/basetexture9.c | |
+++ b/src/gallium/state_trackers/nine/basetexture9.c | |
@@ -452,8 +452,9 @@ NineBaseTexture9_UpdateSamplerView( struct NineBaseTexture9 *This, | |
if (unlikely(This->format == D3DFMT_NULL)) | |
return D3D_OK; | |
NineBaseTexture9_Dump(This); | |
+ NineBaseTexture9_CreatePipeResource(This, true); | |
} | |
- assert(resource); | |
+ user_assert(resource, D3DERR_DRIVERINTERNALERROR); | |
pipe_sampler_view_reference(&This->view[sRGB], NULL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment