Skip to content

Commit

Permalink
tweak(modules/scaleform): make the scaleform fit the target
Browse files Browse the repository at this point in the history
  • Loading branch information
Mycroft-Studios committed Sep 26, 2024
1 parent c4fa99d commit 6df4a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/scaleform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ function Scaleform:Draw(shouldDraw)
SetTextRenderId(self.renderTarget) -- Set the text render id
SetScriptGfxDrawOrder(4) -- Set the script gfx draw order
SetScriptGfxDrawBehindPausemenu(true) -- allow it to draw behind pause menu
SetScaleformFitRendertarget(self.handle, true) -- Set the scaleform fit render target
end

DrawScaleformMovieFullscreen(self.handle, 255, 255, 255, 255, 0)
Expand Down

0 comments on commit 6df4a4d

Please sign in to comment.