Remove orientation changes in demos because this is now handled by using GDISP_DEFAULT_ORIENTATION.
This commit is contained in:
parent
c726de8521
commit
db74e7c823
2 changed files with 0 additions and 7 deletions
|
@ -64,9 +64,6 @@ int main(void) {
|
||||||
float ii, spin, dy, spinspeed, h, f, g;
|
float ii, spin, dy, spinspeed, h, f, g;
|
||||||
|
|
||||||
gfxInit();
|
gfxInit();
|
||||||
#if GDISP_NEED_CONTROL
|
|
||||||
gdispSetOrientation(GDISP_ROTATE_90);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
width = gdispGetWidth();
|
width = gdispGetWidth();
|
||||||
height = gdispGetHeight();
|
height = gdispGetHeight();
|
||||||
|
|
|
@ -272,10 +272,6 @@ int main(void) {
|
||||||
gwinAttachMouse(0);
|
gwinAttachMouse(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if GDISP_NEED_CONTROL
|
|
||||||
gdispSetOrientation(GDISP_ROTATE_90);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Create the gwin windows/widgets
|
// Create the gwin windows/widgets
|
||||||
createWidgets();
|
createWidgets();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue