mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-05 01:29:07 +00:00
feat(gx): add getter for device window
This commit is contained in:
parent
bfbd7e57ad
commit
acaa42019a
7 changed files with 17 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue