[Mesa-dev] [PATCH 1/2] Change return type of try_emit_* methods to bool.

Kai Wasserbäch kai at dev.carbon-project.org
Tue Aug 23 01:48:57 PDT 2011


Ian Romanick explained (Message-Id: <4E528973.6080902 at freedesktop.org>),
that the return type of non-API methods shouldn't use GLboolean but a
standard C++ bool.

CC: Ian Romanick <idr at freedesktop.org>
CC: Bryan Cain <bryancain3 at gmail.com>
Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
---
 src/mesa/program/ir_to_mesa.cpp            |    8 ++++----
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp |   10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-return-type-of-try_emit_-methods-to-bool.patch
Type: text/x-patch
Size: 2298 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110823/03c8aa60/attachment.bin>


More information about the mesa-dev mailing list