Browse Source

Platform: provide AndroidApplication::ViewportEvent::framebufferSize().

Same as windowSize(), it's there now just to make the ported examples
compile at the moment. Will need to be replaced with proper
implementation later.
pull/272/head
Vladimír Vondruš 8 years ago
parent
commit
f94c65470a
  1. 8
      src/Magnum/Platform/AndroidApplication.h

8
src/Magnum/Platform/AndroidApplication.h

@ -526,6 +526,14 @@ class AndroidApplication::ViewportEvent {
*/
Vector2i windowSize() const { return _windowSize; }
/**
* @brief Framebuffer size
*
* The same as @ref windowSize().
* @todo this might not be true, implement properly!
*/
Vector2i framebufferSize() const { return _windowSize; }
private:
friend AndroidApplication;

Loading…
Cancel
Save