Skip to content
Snippets Groups Projects
Commit 55984261 authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Emil Velikov
Browse files

mesa/main: factor out common error-checking


This error checking is the same for teximage and texsubimage getters, so
let's factor it out to its own function.

This will be useful when getteximage and gettexsubimage gets their own
error checking routines a bit later.

Signed-off-by: default avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: default avatarJuan A. Suarez <jasuarez@igalia.com>
(cherry picked from commit 42820c57)
parent 35e9cd34
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment