~ubuntu-branches/debian/sid/x42-plugins/sid

« back to all changes in this revision

Viewing changes to balance.lv2/pugl/pugl_internal.h

  • Committer: Package Import Robot
  • Author(s): Jaromír Mikeš
  • Date: 2015-03-23 18:26:21 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20150323182621-bxlw3w09u72u4ned
Tags: 20141101-1
* Imported Upstream version 20141101
* Bump Standards.
* Patch refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
void
76
76
puglDefaultReshape(PuglView* view, int width, int height)
77
77
{
 
78
        glViewport(0, 0, width, height);
78
79
        glMatrixMode(GL_PROJECTION);
79
80
        glLoadIdentity();
80
81
        glOrtho(0, width, height, 0, 0, 1);
81
 
        glViewport(0, 0, width, height);
82
82
 
83
83
        glMatrixMode(GL_MODELVIEW);
84
84
        glLoadIdentity();