mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[client] render/opengl: remove braces so fallthrough comment is recognized
gcc -Wimplicit-fallthrough only detects comments if they are immediately preceded before the next label. Braces stops it from recognizing the fallthrough comment.
This commit is contained in:
parent
5f20ee46a8
commit
369c49cdcf
@ -1109,7 +1109,6 @@ static void update_mouse_shape(struct Inst * this, bool * newShape)
|
||||
switch(cursor)
|
||||
{
|
||||
case LG_CURSOR_MASKED_COLOR:
|
||||
{
|
||||
for(int i = 0; i < width * height; ++i)
|
||||
{
|
||||
const uint32_t c = ((uint32_t *)data)[i];
|
||||
@ -1120,7 +1119,6 @@ static void update_mouse_shape(struct Inst * this, bool * newShape)
|
||||
//
|
||||
// technically we should also create an XOR texture from the data but this
|
||||
// usage seems very rare in modern software.
|
||||
}
|
||||
|
||||
case LG_CURSOR_COLOR:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user