Change-Id: I4be5d80931689d1ac66b58b316c24b16ab6fd761
Reviewed-on: https://swiftshader-review.googlesource.com/5550
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
while(!mSharedImageNameSpace.empty())
{
- destroySharedImage((EGLImageKHR)mSharedImageNameSpace.firstName());
+ destroySharedImage(reinterpret_cast<EGLImageKHR>(mSharedImageNameSpace.firstName()));
}
}
EGLImageKHR Display::createSharedImage(Image *image)
{
- return (EGLImageKHR)mSharedImageNameSpace.allocate(image);
+ return reinterpret_cast<EGLImageKHR>(mSharedImageNameSpace.allocate(image));
}
bool Display::destroySharedImage(EGLImageKHR image)