mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Synchronise with Khronos-private Gitlab branch
The maintenance of the conformance tests is moving to Github. This commit contains all the changes that have been done in Gitlab since the first public release of the conformance tests. Signed-off-by: Kevin Petit kevin.petit@arm.com
This commit is contained in:
@@ -386,17 +386,17 @@ int main(int argc, const char *argv[])
|
||||
// Intentional falling through
|
||||
cleanup:
|
||||
|
||||
// Cleanup EGL
|
||||
glEnv->terminate_egl_display();
|
||||
|
||||
// Always make sure that OpenCL context is released properly when the test exit
|
||||
if(sCurrentContext)
|
||||
{
|
||||
clReleaseContext( sCurrentContext );
|
||||
sCurrentContext = NULL;
|
||||
}
|
||||
|
||||
// Cleanup EGL
|
||||
glEnv->terminate_egl_display();
|
||||
|
||||
delete glEnv;
|
||||
|
||||
|
||||
return error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user