BBBsmoke / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Variable shadowing in D3D11 Renderer #877

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently we introduce a new gl::Error error variable that shadows a subsequent 
one in VertexBuffer11::storeVertexAttributes. We should fix that.

Austin can you look at fixing that?

Original issue reported on code.google.com by jmad...@chromium.org on 21 Jan 2015 at 7:11

GoogleCodeExporter commented 9 years ago
Also a second instance of shadowing reported as:

src\third_party\angle\src\libangle\renderer\d3d\d3d11\texturestorage11.cpp(770) 
: warning C6246: Local declaration of 'dest11' hides declaration of the same 
name in outer scope. For additional information, see previous declaration at 
line '718' of 
'src\third_party\angle\src\libangle\renderer\d3d\d3d11\texturestorage11.cpp'.

See comments in https://chromium-review.googlesource.com/#/c/234522/ and 
https://chromium-review.googlesource.com/240181

Original comment by jmad...@chromium.org on 21 Jan 2015 at 7:15