mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
examples: changed the screen size.
This commit is contained in:
parent
8b810bed87
commit
f4c9c4189e
2 changed files with 5 additions and 5 deletions
|
@ -180,10 +180,10 @@ int main(int argc, char **argv)
|
|||
Elm_Transit *transit = elm_transit_add();
|
||||
|
||||
if (tvgEngine == tvg::CanvasEngine::Sw) {
|
||||
auto view = createSwView();
|
||||
auto view = createSwView(1024, 1024);
|
||||
elm_transit_effect_add(transit, transitSwCb, view, nullptr);
|
||||
} else {
|
||||
auto view = createGlView();
|
||||
auto view = createGlView(1024, 1024);
|
||||
elm_transit_effect_add(transit, transitGlCb, view, nullptr);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
/************************************************************************/
|
||||
|
||||
#define NUM_PER_ROW 7
|
||||
#define NUM_PER_COL 6
|
||||
#define NUM_PER_COL 7
|
||||
#define SIZE (WIDTH/NUM_PER_ROW)
|
||||
|
||||
static int counter = 0;
|
||||
|
@ -172,9 +172,9 @@ int main(int argc, char **argv)
|
|||
elm_init(argc, argv);
|
||||
|
||||
if (tvgEngine == tvg::CanvasEngine::Sw) {
|
||||
createSwView();
|
||||
createSwView(1024, 1024);
|
||||
} else {
|
||||
createGlView();
|
||||
createGlView(1024, 1024);
|
||||
}
|
||||
|
||||
elm_run();
|
||||
|
|
Loading…
Add table
Reference in a new issue