123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #include "haiku_gl_view.h"
- #include "main/main.h"
- HaikuGLView::HaikuGLView(BRect frame, uint32 type) :
- BGLView(frame, "GodotGLView", B_FOLLOW_ALL_SIDES, 0, type) {
- }
- void HaikuGLView::AttachedToWindow(void) {
- LockGL();
- BGLView::AttachedToWindow();
- UnlockGL();
- MakeFocus();
- }
- void HaikuGLView::Draw(BRect updateRect) {
- Main::force_redraw();
- }
|