Skip to content

Commit

Permalink
Merge pull request #926 from bitpredator/dev
Browse files Browse the repository at this point in the history
chore: improvements for playing television content
  • Loading branch information
bitpredator authored Dec 20, 2024
2 parents 15f9142 + 346cd91 commit c3f685c
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 192 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local scale = 1.5
local screenWidth = math.floor(1920 / scale)
local screenHeight = math.floor(1080 / scale)
shouldDraw = false
local shouldDraw = false

function SetInteractScreen(bool)
if not shouldDraw and bool then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function CreateNamedRenderTargetForModel(name, model)
local handle = 0
if not IsNamedRendertargetRegistered(name) then
RegisterNamedRendertarget(name, 0)
RegisterNamedRendertarget(name, false)
end
if not IsNamedRendertargetLinked(model) then
LinkNamedRendertarget(model)
Expand Down
Loading

0 comments on commit c3f685c

Please sign in to comment.