mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0023727: Variable 'A' set but not used in Graphic3d_ArrayOfPrimitives::VertexColor
This commit is contained in:
parent
4709515e0f
commit
6598416b22
8
src/Graphic3d/Graphic3d_ArrayOfPrimitives.lxx
Executable file → Normal file
8
src/Graphic3d/Graphic3d_ArrayOfPrimitives.lxx
Executable file → Normal file
@ -252,13 +252,13 @@ inline void Graphic3d_ArrayOfPrimitives::VertexColor(const Standard_Integer anIn
|
||||
Standard_Integer aColor;
|
||||
VertexColor(anIndex, aColor);
|
||||
if( myPrimitiveArray->vcolours ) {
|
||||
Standard_Integer r,g,b,a;
|
||||
Standard_Integer r,g,b;
|
||||
Standard_Integer aColor;
|
||||
VertexColor(anIndex, aColor);
|
||||
Standard_Real A;
|
||||
a = aColor & 0xff000000;
|
||||
/*Standard_Real A;
|
||||
Standard_Integer a = aColor & 0xff000000;
|
||||
a >>= 24;
|
||||
A = ((Standard_Real) a) / 255.;
|
||||
A = ((Standard_Real) a) / 255.;*/
|
||||
|
||||
b = aColor & 0x00ff0000;
|
||||
b >>= 16;
|
||||
|
Loading…
x
Reference in New Issue
Block a user