]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/program.cpp
Use standard fixed-size integer types
[libs/gl.git] / source / core / program.cpp
index 468a40f5c8ba06025fe0729d4fc14bb8a536d227..473d8a0b0d2c79e8a147e4b278e02ffbf303cb73 100644 (file)
@@ -227,7 +227,7 @@ void Program::add_spirv_stages(const SpirVModule &mod, const map<string, int> &s
                used_stage_ids[n_stages++] = stage_id;
        }
 
-       const vector<UInt32> &code = mod.get_code();
+       const vector<uint32_t> &code = mod.get_code();
        glShaderBinary(n_stages, used_stage_ids, GL_SHADER_BINARY_FORMAT_SPIR_V, &code[0], code.size()*4);
 
        if(!spec_values.empty() && !transient)