Commit f685991d by Jamie Madill

Fix ANGLETest::getPlatformRenderer.

Was mistakenly returning a boolean instead of EGLint. BUG=angle:850 Change-Id: I07f0995d66783f62124d37f5ea8e595f516cc84f Reviewed-on: https://chromium-review.googlesource.com/244844Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarNicolas Capens <capn@chromium.org>
parent 198e9e39
...@@ -252,7 +252,8 @@ bool ANGLETest::isNVidia() const ...@@ -252,7 +252,8 @@ bool ANGLETest::isNVidia() const
EGLint ANGLETest::getPlatformRenderer() const EGLint ANGLETest::getPlatformRenderer() const
{ {
return mEGLWindow && mEGLWindow->getPlatform().renderer; assert(mEGLWindow);
return mEGLWindow->getPlatform().renderer;
} }
OSWindow *ANGLETest::mOSWindow = NULL; OSWindow *ANGLETest::mOSWindow = NULL;
......
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