diff options
author | Brian <[email protected]> | 2008-03-21 12:32:48 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-21 12:32:48 -0600 |
commit | c80a380ebb58c15db87309d466ef57fb006b40ae (patch) | |
tree | e0c8002d48c53dd12067365c7fa2ef1c5419b3b3 /src/mesa/main/teximage.c | |
parent | b70a6babfbc035d64dbe35ac4bf9218e8232b435 (diff) |
Fix some PBO breakage.
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset
into a PBO. Similarly for _mesa_GetTexImage.
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index f15e4045278..384e1455203 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2323,9 +2323,6 @@ _mesa_GetTexImage( GLenum target, GLint level, GLenum format, return; } - if (!pixels) - return; - _mesa_lock_texture(ctx, texObj); { texImage = _mesa_select_tex_image(ctx, texObj, target, level); |