| 42 | static SimpleOpenGL2App* gApp2 = 0; |
| 43 | |
| 44 | static void Simple2ResizeCallback(float widthf, float heightf) |
| 45 | { |
| 46 | int width = (int)widthf; |
| 47 | int height = (int)heightf; |
| 48 | if (gApp2->m_renderer && gApp2->m_window) |
| 49 | gApp2->m_renderer->resize(width, height); //*gApp2->m_window->getRetinaScale(),height*gApp2->m_window->getRetinaScale()); |
| 50 | } |
| 51 | |
| 52 | static void Simple2KeyboardCallback(int key, int state) |
| 53 | { |