parent
fa70b40587
commit
1759d28ee2
2 changed files with 12 additions and 8 deletions
|
|
@ -1107,8 +1107,9 @@ void OBSBasic::RenderMain(void *data, uint32_t cx, uint32_t cy)
|
|||
|
||||
/* --------------------------------------- */
|
||||
|
||||
float right = float(window->ui->preview->width()) - window->previewX;
|
||||
float bottom = float(window->ui->preview->height()) - window->previewY;
|
||||
QSize previewSize = GetPixelSize(window->ui->preview);
|
||||
float right = float(previewSize.width()) - window->previewX;
|
||||
float bottom = float(previewSize.height()) - window->previewY;
|
||||
|
||||
gs_ortho(-window->previewX, right,
|
||||
-window->previewY, bottom,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue