Skip to content

Commit

Permalink
vtfpp: rename a flag
Browse files Browse the repository at this point in the history
  • Loading branch information
craftablescience committed Dec 4, 2024
1 parent 206e571 commit c2a0fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/vtfpp/VTF.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class VTF {
FLAG_NORMAL = 1 << 7,
FLAG_NO_MIP = 1 << 8, // Added at VTF creation time
FLAG_NO_LOD = 1 << 9, // Added at VTF creation time
FLAG_MIN_MIP = 1 << 10,
FLAG_LOAD_LOWEST_MIPS = 1 << 10,
FLAG_PROCEDURAL = 1 << 11,
FLAG_ONE_BIT_ALPHA = 1 << 12, // Added at VTF creation time
FLAG_MULTI_BIT_ALPHA = 1 << 13, // Added at VTF creation time
Expand All @@ -138,7 +138,7 @@ class VTF {
FLAG_ONE_OVER_MIP_LEVEL_IN_ALPHA = 1 << 19, // Internal to vtex, removed
FLAG_PREMULTIPLY_COLOR_BY_ONE_OVER_MIP_LEVEL = 1 << 20, // Internal to vtex, removed
FLAG_NORMAL_TO_DUDV = 1 << 21, // Internal to vtex, removed
FLAG_ALPHA_TEST_MIP_GENERATION = 1 << 22,
FLAG_ALPHA_TEST_MIP_GENERATION = 1 << 22, // Internal to vtex, removed
FLAG_NO_DEPTH_BUFFER = 1 << 23,
FLAG_NICE_FILTERED = 1 << 24, // Internal to vtex, removed
FLAG_CLAMP_U = 1 << 25,
Expand Down
2 changes: 1 addition & 1 deletion lang/python/src/vtfpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void register_python(py::module_& m) {
.value("NORMAL", VTF::FLAG_NORMAL)
.value("NO_MIP", VTF::FLAG_NO_MIP)
.value("NO_LOD", VTF::FLAG_NO_LOD)
.value("MIN_MIP", VTF::FLAG_MIN_MIP)
.value("LOAD_LOWEST_MIPS", VTF::FLAG_LOAD_LOWEST_MIPS)
.value("PROCEDURAL", VTF::FLAG_PROCEDURAL)
.value("ONE_BIT_ALPHA", VTF::FLAG_ONE_BIT_ALPHA)
.value("MULTI_BIT_ALPHA", VTF::FLAG_MULTI_BIT_ALPHA)
Expand Down

0 comments on commit c2a0fad

Please sign in to comment.