OpenGL renderer fixes
Fixed attributes loading Fixed scale-offset matrix Fixed attribute debug option
This commit is contained in:
@@ -598,6 +598,11 @@ u64 fs::file::write(const void* buffer, u64 count) const
|
||||
#endif
|
||||
}
|
||||
|
||||
u64 fs::file::write(const std::string &string) const
|
||||
{
|
||||
return write(string.data(), string.size());
|
||||
}
|
||||
|
||||
u64 fs::file::seek(s64 offset, fsm seek_mode) const
|
||||
{
|
||||
g_tls_error = fse::ok;
|
||||
|
||||
@@ -94,6 +94,7 @@ namespace fs
|
||||
|
||||
u64 read(void* buffer, u64 count) const;
|
||||
u64 write(const void* buffer, u64 count) const;
|
||||
u64 write(const std::string &string) const;
|
||||
u64 seek(s64 offset, fsm seek_mode = fsm::begin) const;
|
||||
u64 size() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user