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