Bugfix for viewports on C++ side not matching C# structure

This commit is contained in:
baldurk
2015-10-26 18:04:07 +01:00
parent 543f15ae4a
commit 26b2901931
+2 -1
View File
@@ -190,10 +190,11 @@ struct GLPipelineState
{
struct Viewport
{
Viewport() : Left(0.0f), Bottom(0.0f), Width(0.0f), Height(0.0f), MinDepth(0.0f), MaxDepth(0.0f) {}
Viewport() : Left(0.0f), Bottom(0.0f), Width(0.0f), Height(0.0f), MinDepth(0.0f), MaxDepth(0.0f), Enabled(true) {}
float Left, Bottom;
float Width, Height;
double MinDepth, MaxDepth;
bool32 Enabled;
};
rdctype::array<Viewport> Viewports;