Originally Posted by Tercioo
I'm getting fps drops from 90fps to 7fps when i do use SetTexture() with a .tga file equal or larger than 256x256.
Since it seems a odd issue, I'm wondering if this is happening only for me, may you guys test this too?
|
I tested your script and got fps drops
But it could indeed be those 10 OnUpdate scripts you're running, isn't that a bit too much?
Lua Code:
for o = 1, 10 do
local f = CreateFrame("frame")
f:SetPoint("center")
f:SetSize(300, 300)
local t = f:CreateTexture(nil, "overlay")
t:SetAllPoints()
f:SetScript("OnUpdate", function()
t:SetTexture("Interface\\1024")
end)
end