Warning fixes in glx
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
c1ce807d9f
commit
9e45a1a030
|
@ -461,7 +461,7 @@ create_driver_context(__GLXDRIcontext * context,
|
|||
unsigned dri_err = 0;
|
||||
unsigned major_ver;
|
||||
unsigned minor_ver;
|
||||
uint32_t flags;
|
||||
uint32_t flags = 0;
|
||||
int reset;
|
||||
int api = __DRI_API_OPENGL;
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ glxConvertConfigs(const __DRIcoreExtension * core,
|
|||
}
|
||||
|
||||
for (i = 0; configs[i]; i++) {
|
||||
int renderType = 0;
|
||||
unsigned int renderType = 0;
|
||||
if (core->getConfigAttrib(configs[i], __DRI_ATTRIB_RENDER_TYPE,
|
||||
&renderType)) {
|
||||
if (render_type_is_pbuffer_only(renderType) &&
|
||||
|
|
Loading…
Reference in New Issue