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
  • d3d
  • d3d11
  • SwapChain11.cpp
Find file
BlameHistoryPermalink
  • Rafael Cintron's avatar
    Check return value of allocateResource instead of asserting · 416eb8a3
    Rafael Cintron authored Mar 25, 2021
    allocateResource can fail if the device has been removed or there
    is no more video memory. Hence, the return value needs to checked
    for errors instead of simply asserting that the result doesn't equal
    angle::Result::Stop.
    
    Bug: chromium:1192771
    Change-Id: I794f288f16917ef50e45f6f3ab60ee3ebc5941d9
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2787249Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com>
    416eb8a3
SwapChain11.cpp 38.6 KB
EditWeb IDE
×

Replace SwapChain11.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.