Moved the Color struct to AngleTypes.h.

TRAC #22041 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1418 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent ef19da5a
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "common/RefCountObject.h" #include "common/RefCountObject.h"
#include "libGLESv2/ResourceManager.h" #include "libGLESv2/ResourceManager.h"
#include "libGLESv2/HandleAllocator.h" #include "libGLESv2/HandleAllocator.h"
#include "libGLESv2/angletypes.h"
#include "libGLESv2/renderer/Renderer.h" #include "libGLESv2/renderer/Renderer.h"
#include "libGLESv2/renderer/SwapChain.h" #include "libGLESv2/renderer/SwapChain.h"
...@@ -94,14 +95,6 @@ const float ALIASED_LINE_WIDTH_RANGE_MAX = 1.0f; ...@@ -94,14 +95,6 @@ const float ALIASED_LINE_WIDTH_RANGE_MAX = 1.0f;
const float ALIASED_POINT_SIZE_RANGE_MIN = 1.0f; const float ALIASED_POINT_SIZE_RANGE_MIN = 1.0f;
const float ALIASED_POINT_SIZE_RANGE_MAX_SM2 = 1.0f; const float ALIASED_POINT_SIZE_RANGE_MAX_SM2 = 1.0f;
struct Color
{
float red;
float green;
float blue;
float alpha;
};
// Helper structure describing a single vertex attribute // Helper structure describing a single vertex attribute
class VertexAttribute class VertexAttribute
{ {
......
...@@ -27,6 +27,13 @@ enum SamplerType ...@@ -27,6 +27,13 @@ enum SamplerType
SAMPLER_VERTEX SAMPLER_VERTEX
}; };
struct Color
{
float red;
float green;
float blue;
float alpha;
};
} }
#endif // LIBGLESV2_ANGLETYPES_H_ #endif // LIBGLESV2_ANGLETYPES_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment