forked from Dynamitos/Seele
Changed key and mouse button callback signatures
This commit is contained in:
1 parent
b6a449d8e3
commit
056589a6f9
14 files changed
+37
-28
No files matched your search
@@ -212,8 +212,8 @@ DescriptorSet::~DescriptorSet() {
|
||||
setHandle->isUsed = false;
|
||||
}
|
||||
|
||||
void DescriptorSet::updateConstants(const std::string& mappingName, uint32 offset, void* data) {
|
||||
std::memcpy(constantData.data() + owner->getLayout()->mappings[mappingName].constantOffset, (char*)data + offset,
|
||||
void DescriptorSet::updateConstants(const std::string& mappingName, uint32 offset, const void* data) {
|
||||
std::memcpy(constantData.data() + owner->getLayout()->mappings[mappingName].constantOffset, (const char*)data + offset,
|
||||
owner->getLayout()->mappings[mappingName].constantSize);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user