mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] all: remove needless initalization
This commit is contained in:
parent
579f998519
commit
16adbab5d4
@ -303,7 +303,7 @@ static void egl_calc_mouse_size(struct Inst * this)
|
|||||||
if (!this->formatValid)
|
if (!this->formatValid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int w = 0, h = 0;
|
int w, h;
|
||||||
|
|
||||||
switch(this->format.rotate)
|
switch(this->format.rotate)
|
||||||
{
|
{
|
||||||
|
@ -166,8 +166,8 @@ void core_updatePositionInfo(void)
|
|||||||
if (!g_state.haveSrcSize)
|
if (!g_state.haveSrcSize)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
float srcW = 0.0f;
|
float srcW;
|
||||||
float srcH = 0.0f;
|
float srcH;
|
||||||
|
|
||||||
switch(g_params.winRotate)
|
switch(g_params.winRotate)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user