summaryrefslogtreecommitdiffstats
path: root/include/GL/glx_mangle.h
diff options
context:
space:
mode:
authorYuanhan Liu <[email protected]>2011-10-14 14:28:22 +0800
committerYuanhan Liu <[email protected]>2011-10-17 09:41:58 +0800
commite9edcf8b1d6f319af6db8dd25aa267f662456139 (patch)
tree50fd6f2fb2a3a5c18adb6e44cbc3b5f3dcd4183b /include/GL/glx_mangle.h
parent1448bdf1c0995e3ac2e0f97c51e5e2d73eded8e0 (diff)
mesa: add a function to do the image data copy stuff for save_CompressedTex(Sub)Image
Introuduce a simple function called copy_data to do the image data copy stuff for all the save_CompressedTex*Image function. The function check the NULL data case to avoid some potential segfault. This also would make the code a bit simpler and less redundance. Signed-off-by: Yuanhan Liu <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include/GL/glx_mangle.h')
0 files changed, 0 insertions, 0 deletions