Fix OpenGL function prototype calling conventions
authorPiers Daniell <pdaniell@nvidia.com>
Fri, 1 Dec 2017 21:17:54 +0000 (14:17 -0700)
committerPiers Daniell <pdaniell@nvidia.com>
Fri, 1 Dec 2017 21:17:54 +0000 (14:17 -0700)
commit729f347f60b6d0aec95a3b7fcbeebae4d0024fa8
treed66757353a663418820cbdf66b70369c14851632
parentd3f204f14830639a548746a4c45d452359b8e819
Fix OpenGL function prototype calling conventions

OpenGL doesn't use the default function calling convention
on all platforms, which is why gl.h defines the macros
GL_APICALL and GL_APIENTRY for applications to use when
defining their own OpenGL function prototypes. Not using
these may cause a crash if an OpenGL function is called
with the wrong calling convention.

Affects:
KHR-GL46.transform_feedback.*

Components: OpenGL

VK-GL-CTS issue: 882

Change-Id: I8766262b32a04b8eff8e110e1f116c2f915274e9
external/openglcts/modules/gl/gl3cTransformFeedbackTests.hpp