View Single Post
02-08-22, 12:21 PM   #7
Yukyuk
A Chromatic Dragonspawn
 
Yukyuk's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2015
Posts: 179
Originally Posted by Firesong View Post
I wonder if I have a faulty graphics card or something. Yet the values that are entered as 255 and 0 work fine.

Thanks for trying.
Nothing wrong with your graphic card.
My best guess is that values over 1 are defaulted to 1.
So MapFrame.texture:SetColorTexture(255, 0, 0) becomes MapFrame.texture:SetColorTexture(1, 0, 0) and gives you red.
So your MapFrame.texture:SetColorTexture(12, 34, 56) becomes MapFrame.texture:SetColorTexture(1, 1, 1) which actually is the correct code for white so it gives you white.
__________________
Better to fail then never have tried at all.
  Reply With Quote