Replies: 4 comments 3 replies
-
This is expected... This example is there to demonstrate bgfx C99 API and nothing else. Example harness doesn't have C99 implementation therefore not all features are available in this example. |
Beta Was this translation helpful? Give feedback.
-
Hi @bkaradzic , It is also for other examples like the HelloWorld cpp example. Just starting out bgfx, so how do I set the width and height of the window? Overriding the below _width and _height does nothing.
|
Beta Was this translation helpful? Give feedback.
-
bgfx doesn't deal with window size... What is setting here is backbuffer size: m_width = _width;
m_height = _height; If you want to change example harness window size programmatically you need to use bgfx/examples/common/entry/entry.h Lines 279 to 280 in e33efb8 |
Beta Was this translation helpful? Give feedback.
-
@bkaradzic, I tried modifying the example but no effect:
same issue that was not answered here: #1203 (comment) This is what I get, the buffer has been resized, but window size is still 1280x720 |
Beta Was this translation helpful? Give feedback.
-
When changing the width and height to any size say, 1024x768 in the Examples, particularly the C99 Example 25. The resolution remains the same at 1280x720 when compiled.
Beta Was this translation helpful? Give feedback.
All reactions