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

Bryan Cain bryancain3 at gmail.com
Wed Aug 24 15:45:28 PDT 2011


On 08/23/2011 03:48 AM, Kai Wasserbäch wrote:
> 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(-)
Reviewed-by: Bryan Cain <bryancain3 at gmail.com>



More information about the mesa-dev mailing list