mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
dri_util: make version var unsigned to silence warnings
_mesa_override_gl_version_contextless() takes an unsigned version parameter. Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
b307921c3f
commit
82305f7b00
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ driCreateNewScreen2(int scrn, int fd,
|
|||
|
||||
struct gl_constants consts = { 0 };
|
||||
gl_api api;
|
||||
int version;
|
||||
unsigned version;
|
||||
|
||||
api = API_OPENGLES2;
|
||||
if (_mesa_override_gl_version_contextless(&consts, &api, &version))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue