diff options
author | Brian Paul <[email protected]> | 2009-08-12 13:46:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-12 17:28:45 -0600 |
commit | 434ec3ada841915a00ffc23f699401eb3e7b37ee (patch) | |
tree | 465023507839178ba28e846c973eb00d0010fdc1 /src/mesa/main/dlist.c | |
parent | 604031563c92cf632f99cb4f42983faae9b509ef (diff) |
mesa: use _mesa_is_bufferobj()
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r-- | src/mesa/main/dlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 49f202daa1c..4133f15dc72 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -690,7 +690,7 @@ unpack_image(GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *unpack) { - if (unpack->BufferObj->Name == 0) { + if (!_mesa_is_bufferobj(unpack->BufferObj)) { /* no PBO */ return _mesa_unpack_image(dimensions, width, height, depth, format, type, pixels, unpack); |