feat(gx): add getter for device window

This commit is contained in:
fallenoak 2023-03-19 23:48:52 -05:00 committed by GitHub
parent bfbd7e57ad
commit acaa42019a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 0 deletions

View file

@ -334,6 +334,10 @@ int32_t CGxDeviceGLL::DeviceSetFormat(const CGxFormat& format) {
return 1;
}
void* CGxDeviceGLL::DeviceWindow() {
return &this->m_glWindow;
}
void CGxDeviceGLL::Draw(CGxBatch* batch, int32_t indexed) {
if (!this->m_context) {
return;