mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
st/xorg: Fix some warnings
This commit is contained in:
parent
b26aee0ffe
commit
7d9af52bc5
3 changed files with 6 additions and 7 deletions
|
|
@ -260,9 +260,8 @@ static const xf86CrtcFuncsRec crtc_funcs = {
|
|||
};
|
||||
|
||||
void
|
||||
cursor_destroy(xf86CrtcPtr crtc)
|
||||
crtc_cursor_destroy(xf86CrtcPtr crtc)
|
||||
{
|
||||
modesettingPtr ms = modesettingPTR(crtc->scrn);
|
||||
struct crtc_private *crtcp = crtc->driver_private;
|
||||
|
||||
if (crtcp->cursor_buf) {
|
||||
|
|
|
|||
|
|
@ -661,10 +661,6 @@ FreeScreen(int scrnIndex, int flags)
|
|||
FreeRec(xf86Screens[scrnIndex]);
|
||||
}
|
||||
|
||||
/* HACK */
|
||||
void
|
||||
cursor_destroy(xf86CrtcPtr crtc);
|
||||
|
||||
static void
|
||||
LeaveVT(int scrnIndex, int flags)
|
||||
{
|
||||
|
|
@ -676,7 +672,7 @@ LeaveVT(int scrnIndex, int flags)
|
|||
for (o = 0; o < config->num_crtc; o++) {
|
||||
xf86CrtcPtr crtc = config->crtc[o];
|
||||
|
||||
cursor_destroy(crtc);
|
||||
crtc_cursor_destroy(crtc);
|
||||
|
||||
if (crtc->rotatedPixmap || crtc->rotatedData) {
|
||||
crtc->funcs->shadow_destroy(crtc, crtc->rotatedPixmap,
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
#include <xf86drmMode.h>
|
||||
#include <xorg-server.h>
|
||||
#include <xf86.h>
|
||||
#include "xf86Crtc.h"
|
||||
#include <exa.h>
|
||||
|
||||
#ifdef DRM_MODE_FEATURE_DIRTYFB
|
||||
|
|
@ -140,6 +141,9 @@ driCloseScreen(ScreenPtr pScreen);
|
|||
void
|
||||
crtc_init(ScrnInfoPtr pScrn);
|
||||
|
||||
void
|
||||
crtc_cursor_destroy(xf86CrtcPtr crtc);
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* xorg_output.c
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue