mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
Silence some compiler warnings.
This commit is contained in:
parent
169223c9ee
commit
afa446db83
6 changed files with 11 additions and 11 deletions
|
|
@ -334,7 +334,7 @@ static const struct dri_debug_control debug_control[] =
|
|||
|
||||
|
||||
static int
|
||||
get_ust_nop( uint64_t * ust )
|
||||
get_ust_nop( int64_t * ust )
|
||||
{
|
||||
*ust = 1;
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -261,8 +261,8 @@ struct mga_context_t {
|
|||
GLuint vbl_seq;
|
||||
GLuint vblank_flags;
|
||||
|
||||
uint64_t swap_ust;
|
||||
uint64_t swap_missed_ust;
|
||||
int64_t swap_ust;
|
||||
int64_t swap_missed_ust;
|
||||
|
||||
GLuint swap_count;
|
||||
GLuint swap_missed_count;
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ static const struct dri_debug_control debug_control[] =
|
|||
|
||||
|
||||
static int
|
||||
get_ust_nop( uint64_t * ust )
|
||||
get_ust_nop( int64_t * ust )
|
||||
{
|
||||
*ust = 1;
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -836,8 +836,8 @@ struct r200_context {
|
|||
GLuint vbl_seq;
|
||||
GLuint vblank_flags;
|
||||
|
||||
uint64_t swap_ust;
|
||||
uint64_t swap_missed_ust;
|
||||
int64_t swap_ust;
|
||||
int64_t swap_missed_ust;
|
||||
|
||||
GLuint swap_count;
|
||||
GLuint swap_missed_count;
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ static const struct dri_debug_control debug_control[] =
|
|||
|
||||
|
||||
static int
|
||||
get_ust_nop( uint64_t * ust )
|
||||
get_ust_nop( int64_t * ust )
|
||||
{
|
||||
*ust = 1;
|
||||
return 0;
|
||||
|
|
@ -577,7 +577,7 @@ radeonMakeCurrent( __DRIcontextPrivate *driContextPriv,
|
|||
(radeonContextPtr) driContextPriv->driverPrivate;
|
||||
|
||||
if (RADEON_DEBUG & DEBUG_DRI)
|
||||
fprintf(stderr, "%s ctx %p\n", __FUNCTION__, newCtx->glCtx);
|
||||
fprintf(stderr, "%s ctx %p\n", __FUNCTION__, (void *) newCtx->glCtx);
|
||||
|
||||
if ( newCtx->dri.drawable != driDrawPriv ) {
|
||||
driDrawableInitVBlank( driDrawPriv, newCtx->vblank_flags );
|
||||
|
|
@ -617,7 +617,7 @@ radeonUnbindContext( __DRIcontextPrivate *driContextPriv )
|
|||
radeonContextPtr rmesa = (radeonContextPtr) driContextPriv->driverPrivate;
|
||||
|
||||
if (RADEON_DEBUG & DEBUG_DRI)
|
||||
fprintf(stderr, "%s ctx %p\n", __FUNCTION__, rmesa->glCtx);
|
||||
fprintf(stderr, "%s ctx %p\n", __FUNCTION__, (void *) rmesa->glCtx);
|
||||
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -749,8 +749,8 @@ struct radeon_context {
|
|||
GLuint vbl_seq;
|
||||
GLuint vblank_flags;
|
||||
|
||||
uint64_t swap_ust;
|
||||
uint64_t swap_missed_ust;
|
||||
int64_t swap_ust;
|
||||
int64_t swap_missed_ust;
|
||||
|
||||
GLuint swap_count;
|
||||
GLuint swap_missed_count;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue