radeong: Test the BO ptr for NULL instead of using a bool.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 20 Mar 2010 23:14:20 +0000 (16:14 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 20 Mar 2010 23:16:11 +0000 (16:16 -0700)
commit20dedcca3ca5bfeaaa275bec8a14ca8c69615f6a
tree6183c44ae82d111a67b7769fe9c1b8f608486825
parentc2d17dce27d412012a3a45bbde954fb9374d5db9
radeong: Test the BO ptr for NULL instead of using a bool.

Slight memory savings, but more importantly also avoids a potential NULL
dereference.
src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c