skia: wrong calling convention on eglGetPlatformDisplayEXT
authorhendrikw <hendrikw@chromium.org>
Fri, 24 Jul 2015 13:52:40 +0000 (06:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Jul 2015 13:52:40 +0000 (06:52 -0700)
commit266c232104e465f807cf57b2855836b250146a02
tree595a14e2c0103225f283d5eaadde3a9ea66e4df9
parentba9757abc2750a4a49d1e9a586592e054b4c2c14
skia: wrong calling convention on eglGetPlatformDisplayEXT

When attempting to run the release compile of nanobench on windows, I would
immediately crash due to c++'s buffer security check.

This was caused by calling the function with the wrong calling
convention.  I'm not sure how this ever worked for anyone.

Anyway, fix is to use eglext.h's version of the function definition.

Review URL: https://codereview.chromium.org/1250383002
src/gpu/gl/angle/SkANGLEGLContext.cpp