mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-18 06:10:36 +01:00
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:
parent
d1b91e309b
commit
17003b44b7
1 changed files with 1 additions and 1 deletions
|
|
@ -868,7 +868,7 @@ st_GetTexImage(struct gl_context * ctx,
|
|||
goto fallback;
|
||||
}
|
||||
|
||||
if (!stImage->pt) {
|
||||
if (!stImage->pt || !src) {
|
||||
goto fallback;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue