Skip to content

Commit

Permalink
fix render y scale
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Mar 29, 2020
1 parent 3bb63b6 commit 145888d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion move-transition.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ bool render2_item(obs_scene_t *scene, obs_sceneitem_t *scene_item, void *data)
if (width && height &&
gs_texrender_begin(item->item_render, width, height)) {
float cx_scale = (float)original_width / (float)width;
float cy_scale = (float)original_height / (float)width;
float cy_scale = (float)original_height / (float)height;
struct vec4 clear_color;

vec4_zero(&clear_color);
Expand Down

0 comments on commit 145888d

Please sign in to comment.