diff options
author | Emil Velikov <[email protected]> | 2014-02-12 19:19:17 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-04-28 19:11:28 +0100 |
commit | 98e2a8e2f98dd78de682d92f100598191617ac89 (patch) | |
tree | 5b70c9d362ec1e8738dd17c476766f761b4c5215 /src/gtest | |
parent | 748b35a69f4b4653ebe1e685ec4fae123d78c68a (diff) |
st/dri: cleanup dri extension handling
Explicitly set the version that is implemented, as that may differ
from the one defined in dri_interface.h. Use designated initialisers
and constify whereever possible.
Note: __DRIimageExtension should not be made const as it's modified
at runtime. This patch should have no side effects on compilers that
do not support designated initialisers, as the existing code in
dri/common already uses them.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions