summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgetimage.c
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2017-01-12 16:03:00 -0200
committerAlejandro Piñeiro <[email protected]>2017-01-13 08:52:07 -0200
commitc6eb3aeba530fe82087c1c3c06ded23cb79bc199 (patch)
tree258f3a2f9c517a53d5d6ae7480f40c7ba9b2b7de /src/mesa/main/texgetimage.c
parent963311b71fd9900351a4a9dd1cd5f5db391f7e1b (diff)
main/fboject: return if it is color_attachment on get_attachment
Some callers would need that info to know if they should raise INVALID_ENUM or INVALID_OPERATION. An alternative would be the caller to check if the attachment is a GL_COLOR_ATTACHMENTm, but that seems redundant as get_attachment is already doing that. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/texgetimage.c')
0 files changed, 0 insertions, 0 deletions