Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.48k stars 174 forks source link

HL: fix vertex data enum values #1393

Closed MoritzBrueckner closed 2 years ago

MoritzBrueckner commented 2 years ago

New fix for https://github.com/Kode/Kha/pull/1384, this time with the big switch statement and only HL code modified. Tested with g2 and g4.

RobDangerous commented 2 years ago

Well, this works but it should ideally be in C instead of Haxe so you can make use of Kinc's enum values directly - because that way we wouldn't need to change Kha if the values changed in Kinc.