st/mesa: fix crash with blit-based GetTexImage
https://bugs.freedesktop.org/show_bug.cgi?id=62573 Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
This commit is contained in:
@@ -868,7 +868,7 @@ st_GetTexImage(struct gl_context * ctx,
|
||||
goto fallback;
|
||||
}
|
||||
|
||||
if (!stImage->pt) {
|
||||
if (!stImage->pt || !src) {
|
||||
goto fallback;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user