mirror of
https://github.com/libretro/RetroArch.git
synced 2024-10-08 07:03:30 +00:00
remove extra semicolons
This commit is contained in:
parent
affb159fe2
commit
0eb1777a1f
2
deps/nuklear/nuklear.h
vendored
2
deps/nuklear/nuklear.h
vendored
@ -18890,7 +18890,7 @@ nk_combo_begin_text(struct nk_context *ctx, struct nk_panel *layout,
|
|||||||
text.padding = nk_vec2(0,0);
|
text.padding = nk_vec2(0,0);
|
||||||
label.x = header.x + style->combo.content_padding.x;
|
label.x = header.x + style->combo.content_padding.x;
|
||||||
label.y = header.y + style->combo.content_padding.y;
|
label.y = header.y + style->combo.content_padding.y;
|
||||||
label.w = button.x - (style->combo.content_padding.x + style->combo.spacing.x) - label.x;;
|
label.w = button.x - (style->combo.content_padding.x + style->combo.spacing.x) - label.x;
|
||||||
label.h = header.h - 2 * style->combo.content_padding.y;
|
label.h = header.h - 2 * style->combo.content_padding.y;
|
||||||
nk_widget_text(&win->buffer, label, selected, len, &text,
|
nk_widget_text(&win->buffer, label, selected, len, &text,
|
||||||
NK_TEXT_LEFT, &ctx->style.font);
|
NK_TEXT_LEFT, &ctx->style.font);
|
||||||
|
@ -211,7 +211,7 @@ bool egl_create_context(egl_ctx_data_t *egl, const EGLint *egl_attribs)
|
|||||||
RARCH_LOG("[EGL]: Created shared context: %p.\n", (void*)egl->hw_ctx);
|
RARCH_LOG("[EGL]: Created shared context: %p.\n", (void*)egl->hw_ctx);
|
||||||
|
|
||||||
if (egl->hw_ctx == EGL_NO_CONTEXT)
|
if (egl->hw_ctx == EGL_NO_CONTEXT)
|
||||||
return false;;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -509,7 +509,7 @@ static void drm_plane_setup(struct drm_surface *surface)
|
|||||||
* crtc_x and crtc_y are the position of the plane
|
* crtc_x and crtc_y are the position of the plane
|
||||||
* pw and ph are the input size: the size of the area we read from the fb. */
|
* pw and ph are the input size: the size of the area we read from the fb. */
|
||||||
uint32_t plane_flags = 0;
|
uint32_t plane_flags = 0;
|
||||||
uint32_t plane_w = drm.current_mode->vdisplay * surface->aspect;;
|
uint32_t plane_w = drm.current_mode->vdisplay * surface->aspect;
|
||||||
uint32_t plane_h = drm.current_mode->vdisplay;
|
uint32_t plane_h = drm.current_mode->vdisplay;
|
||||||
/* If we obtain a scaled image width that is bigger than the physical screen width,
|
/* If we obtain a scaled image width that is bigger than the physical screen width,
|
||||||
* then we keep the physical screen width as our maximun width. */
|
* then we keep the physical screen width as our maximun width. */
|
||||||
|
@ -355,7 +355,7 @@ static void gfx_ctx_wl_check_window(void *data, bool *quit,
|
|||||||
*height = new_height;
|
*height = new_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
*quit = (bool)frontend_driver_get_signal_handler_state();;
|
*quit = (bool)frontend_driver_get_signal_handler_state();
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool gfx_ctx_wl_set_resize(void *data, unsigned width, unsigned height)
|
static bool gfx_ctx_wl_set_resize(void *data, unsigned width, unsigned height)
|
||||||
|
@ -174,8 +174,8 @@ static void *gl_raster_font_init_font(void *data,
|
|||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
||||||
|
|
||||||
atlas = font->font_driver->get_atlas(font->font_data);
|
atlas = font->font_driver->get_atlas(font->font_data);
|
||||||
font->tex_width = next_pow2(atlas->width);;
|
font->tex_width = next_pow2(atlas->width);
|
||||||
font->tex_height = next_pow2(atlas->height);;
|
font->tex_height = next_pow2(atlas->height);
|
||||||
|
|
||||||
if (!gl_raster_font_upload_atlas(font, atlas,
|
if (!gl_raster_font_upload_atlas(font, atlas,
|
||||||
font->tex_width, font->tex_height))
|
font->tex_width, font->tex_height))
|
||||||
|
@ -50,7 +50,7 @@ static int16_t gx_input_state(void *data, const struct retro_keybind **binds,
|
|||||||
switch (device)
|
switch (device)
|
||||||
{
|
{
|
||||||
case RETRO_DEVICE_JOYPAD:
|
case RETRO_DEVICE_JOYPAD:
|
||||||
return input_joypad_pressed(gx->joypad, port, binds[port], id);;
|
return input_joypad_pressed(gx->joypad, port, binds[port], id);
|
||||||
case RETRO_DEVICE_ANALOG:
|
case RETRO_DEVICE_ANALOG:
|
||||||
return input_joypad_analog(gx->joypad, port, idx, id, binds[port]);
|
return input_joypad_analog(gx->joypad, port, idx, id, binds[port]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user