View Single Post
01-02-16, 07:29 PM   #6
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,894
Originally Posted by SDPhantom View Post
CreateTexture(), like CreateFontString(), is a metamethod of frames. As such, you need to call it as Frame:CreateTexture(). Also, you need to specify a draw layer as the second argument. Names are optional and you can pass nil as the first argument to not assign one.
You are indeed correct, my bad.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote