I'm displaying an image and it's crashing WoW on Windows 64 bit (I have not tested 32 bit). It does NOT crash on a Mac.
Here is my image:
http://www.wowinterface.com/forums/a...0&d=1417713965
Here is the code:
Code:
local f = CreateFrame("Frame",nil,UIParent)
f:SetFrameStrata("BACKGROUND")
f:SetWidth(256)
f:SetHeight(256)
local t = f:CreateTexture(nil,"BACKGROUND")
t:SetTexture("Interface/AddOns/MyAddon/pvp.tga")
t:SetAllPoints(f)
f.texture = t
f:SetPoint("CENTER",0,0)
f:Show()
Any help would be appreciated. The exact error varies depending on the timing of the image popping up; however when the full error happens, it's a memory corrupt #132? error. The exact text eludes my memory at the moment. The ErrorData in the wow folder didn't really give me any clues; however, after testing things out, the crash most certainly happens on the above code (I cleared out everything else to just this).
I have also tried t:SetTexture("Interface\\AddOns\\MyAddon\\pvp.tga")
The .tga file was created using Gimp's default settings, 256x256
Thanks