mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
st/nine: Initialize manually cursor structure
Initialize manually the cursor structure fields for more clarity on its content. Signed-off-by: Axel Davy <davyaxel0@gmail.com>
This commit is contained in:
parent
110950318c
commit
62ea55ec8b
1 changed files with 4 additions and 0 deletions
|
|
@ -331,6 +331,10 @@ NineDevice9_ctor( struct NineDevice9 *This,
|
|||
This->cursor.software = FALSE;
|
||||
This->cursor.hotspot.x = -1;
|
||||
This->cursor.hotspot.y = -1;
|
||||
This->cursor.w = This->cursor.h = 0;
|
||||
This->cursor.visible = FALSE;
|
||||
This->cursor.pos.x = 0;
|
||||
This->cursor.pos.y = 0;
|
||||
{
|
||||
struct pipe_resource tmpl;
|
||||
memset(&tmpl, 0, sizeof(tmpl));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue