Commit 9151a3c4 by Alexis Hetu Committed by Alexis Hétu

Chromium build fix

Adding a getPlane() function in order to not have the "plane" private member unused, which causes a warning and makes compilation fail. Change-Id: I3ec08d3439c7e8f3d4314f3b4864d12e9c34d6f4 Reviewed-on: https://swiftshader-review.googlesource.com/18468Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent d23cf636
...@@ -1225,6 +1225,11 @@ namespace egl ...@@ -1225,6 +1225,11 @@ namespace egl
return format; return format;
} }
size_t ClientBuffer::getPlane() const
{
return plane;
}
int ClientBuffer::pitchP() const int ClientBuffer::pitchP() const
{ {
#if defined(__APPLE__) #if defined(__APPLE__)
......
...@@ -73,6 +73,7 @@ public: ...@@ -73,6 +73,7 @@ public:
int getWidth() const; int getWidth() const;
int getHeight() const; int getHeight() const;
sw::Format getFormat() const; sw::Format getFormat() const;
size_t getPlane() const;
int pitchP() const; int pitchP() const;
void retain(); void retain();
void release(); void release();
......
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