mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Fixed TriLight struct declaration bug
This commit is contained in:
parent
22f07b06cd
commit
6fe124d937
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ llvm::Type *LLVMDrawers::GetTriLightStruct(llvm::LLVMContext &context)
|
|||
|
||||
std::vector<llvm::Type *> elements;
|
||||
elements.push_back(llvm::Type::getInt32Ty(context));
|
||||
for (int i = 0; i < 4 + TriVertex::NumVarying; i++)
|
||||
for (int i = 0; i < 4; i++)
|
||||
elements.push_back(llvm::Type::getFloatTy(context));
|
||||
TriLightStruct = llvm::StructType::create(context, elements, "TriLight", false)->getPointerTo();
|
||||
return TriLightStruct;
|
||||
|
|
Loading…
Reference in a new issue