Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • renderer
  • gl
  • ProgramGL.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Make conversion from GL types to native bools consistant. · 92019431
    Geoff Lang authored Nov 20, 2017
    Some places would compare with "== GL_TRUE" and others with "!= GL_FALSE".
    This behaviour is not in the OpenGL spec but "!= GL_FALSE" is the most
    standard and follows the same rules as C and C++.
    
    Remove un-necessary validation that params are either GL_TRUE or
    GL_FALSE.
    
    Update some internal storage from GLboolean to bool.
    
    BUG=angleproject:2258
    
    Change-Id: I12adbe2d24318a206521ca6ad1099ee7e2bf677e
    Reviewed-on: https://chromium-review.googlesource.com/779799Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    92019431
ProgramGL.cpp 29.9 KB
EditWeb IDE
×

Replace ProgramGL.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.