|2 posts found|
Hard Core Member
"Next time I see you, remind me not to talk to you."
OP 12/05/12 12:32:31 PM#1
I just spent about 4 hours trying to figure out why an exception was being thrown while loading an HLSL file. The compiler was complaining about an unreconized token on line 17. The line contained a simple assignment. It was about the simplest shader you can write.
After a while something possessed me to look at the fx file in a hex editor. Lo and behold the file started with the infamous "EF BB BF".
Sorry, I needed to vent.
"Why so serious?"
12/07/12 1:05:14 PM#2
Yeah, byte order mark causes a lot of headaches...
If it makes you feel any better, every developer gets screwed by it sooner or later.