examples: changed the screen size.

This commit is contained in:
Hermet Park 2023-05-21 20:53:57 +09:00 committed by Hermet Park
parent 8b810bed87
commit f4c9c4189e
2 changed files with 5 additions and 5 deletions

View file

@ -180,10 +180,10 @@ int main(int argc, char **argv)
Elm_Transit *transit = elm_transit_add(); Elm_Transit *transit = elm_transit_add();
if (tvgEngine == tvg::CanvasEngine::Sw) { if (tvgEngine == tvg::CanvasEngine::Sw) {
auto view = createSwView(); auto view = createSwView(1024, 1024);
elm_transit_effect_add(transit, transitSwCb, view, nullptr); elm_transit_effect_add(transit, transitSwCb, view, nullptr);
} else { } else {
auto view = createGlView(); auto view = createGlView(1024, 1024);
elm_transit_effect_add(transit, transitGlCb, view, nullptr); elm_transit_effect_add(transit, transitGlCb, view, nullptr);
} }

View file

@ -28,7 +28,7 @@
/************************************************************************/ /************************************************************************/
#define NUM_PER_ROW 7 #define NUM_PER_ROW 7
#define NUM_PER_COL 6 #define NUM_PER_COL 7
#define SIZE (WIDTH/NUM_PER_ROW) #define SIZE (WIDTH/NUM_PER_ROW)
static int counter = 0; static int counter = 0;
@ -172,9 +172,9 @@ int main(int argc, char **argv)
elm_init(argc, argv); elm_init(argc, argv);
if (tvgEngine == tvg::CanvasEngine::Sw) { if (tvgEngine == tvg::CanvasEngine::Sw) {
createSwView(); createSwView(1024, 1024);
} else { } else {
createGlView(); createGlView(1024, 1024);
} }
elm_run(); elm_run();