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
  • Nico Weber's avatar
    clang/win: Fix a -Wreorder warning · cb8ff7fb
    Nico Weber authored Jul 09, 2015
    ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\SwapChain11.cpp(30,7)
    : error: field 'mDepthStencilRenderTarget' will be initialized after
    field 'mPassThroughResourcesInit' [-Werror,-Wreorder]
          mDepthStencilRenderTarget(this, renderer, true),
          ^
    
    While here, also reorder the fields that are initialized in the
    constructor to match the order the fields are declared in, to make it
    easier to see if any are missing.
    
    No intended behavior change.
    
    BUG=505304
    
    Change-Id: If48195c84161868d33d4361088d3ad22b7a0fc31
    Reviewed-on: https://chromium-review.googlesource.com/284682Reviewed-by: 's avatarNico Weber <thakis@chromium.org>
    Tested-by: 's avatarNico Weber <thakis@chromium.org>
    cb8ff7fb
SwapChain11.cpp 23.9 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.