]> Chaos Git - corbenik/ctrulib.git/commitdiff
update examples to use gfxInitDefault
authorDave Murphy <davem@devkitpro.org>
Sat, 3 Jan 2015 00:06:22 +0000 (00:06 +0000)
committerDave Murphy <davem@devkitpro.org>
Sat, 3 Jan 2015 00:06:22 +0000 (00:06 +0000)
examples/app_launch/source/main.c
examples/get_system_language/source/main.c
examples/gpu/source/main.c
examples/graphics/printing/hello-world/source/main.c
examples/http/source/main.c
examples/libapplet_launch/source/main.c
examples/mic/source/main.c
examples/mvd/source/main.c
examples/qtm/source/main.c
examples/sdmc/source/main.c
examples/templates/application/source/main.c

index 807cb39b598a29e39b2337bc349e050c7853f7c2..d45b4acd36581db111317da48c6cb952ddeeeee6 100644 (file)
@@ -8,7 +8,7 @@ int main()
 {
        srvInit(); // Needed
        aptInit(); // Needed
-       gfxInit(); // Init graphic stuff
+       gfxInitDefault(); // Init graphic stuff
        hidInit(NULL); // For input (buttons, touchscreen...)
 
 
index d0fa8150390083d99c56e6bc7fd834799e014900..4cbb8747b43aeb899258a3c7003317cea7b2b2bc 100644 (file)
@@ -6,7 +6,7 @@
 int main(int argc, char** argv)
 {
        // Initialize services
-       gfxInit();
+       gfxInitDefault();
        initCfgu();
 
 
index 5747637b0c3296ac736793d023747328384b06d9..887e249e2fa7e33ce4b680571dc8017c9b58cfb2 100644 (file)
@@ -192,7 +192,7 @@ int main(int argc, char** argv)
        //setup services
        srvInit();      
        aptInit();
-       gfxInit();
+       gfxInitDefault();
        hidInit(NULL);
 
        //initialize GPU
index a9542904f70aa080ae1b376efb1be438a364f3bd..6dd0a4359c5f9f7675edf96c8f8b58187bcadf9c 100644 (file)
@@ -20,7 +20,7 @@ int main(int argc, char **argv)
        // Initialize services
        srvInit();
        aptInit();
-       gfxInit();
+       gfxInitDefault();
        hidInit(NULL);
 
        //Initialize console on top screen. Using NULL as the second argument tells the console library to use the internal console structure as current one
index bb936520c00696be2ab3afe2ad4a122bf8ad75d4..c51c44b8de11219a4aa3dbbd0ffbb7e123d1d70e 100644 (file)
@@ -91,7 +91,7 @@ int main()
        srvInit();
        aptInit();
        hidInit(NULL);
-       gfxInit();
+       gfxInitDefault();
        //gfxSet3D(true); // uncomment if using stereoscopic 3D
        httpcInit();
 
index d4244a32bdc46286d896ad9ffc7df98d883509d8..f7bc21569b1f5b6f4b8e93d27eef4639ee5bfa93 100644 (file)
@@ -8,7 +8,7 @@ int main()
        srvInit();
        aptInit();
        hidInit(NULL);
-       gfxInit();
+       gfxInitDefault();
        //gfxSet3D(true); // uncomment if using stereoscopic 3D
 
        val = 0x22447899;
index 89ece516d5bd42e950ebec3ad3b6025a3d8ab49b..f54823fbbc54b91bba8bc2e44fc6aa09e16d26d9 100644 (file)
@@ -15,7 +15,7 @@ int main()
 
        srvInit();      
        aptInit();
-       gfxInit();
+       gfxInitDefault();
        hidInit(NULL);
        
        if(CSND_initialize(NULL)==0)audio_initialized = 1;
index 3908a1845b87849bfbb28c2f5ae0aaef110330f4..af8be2dca7fef36c3919ad0dc5a14bbf858891ff 100644 (file)
@@ -110,7 +110,7 @@ int main()
        srvInit();
        aptInit();
        hidInit(NULL);
-       gfxInit();
+       gfxInitDefault();
        fsInit();
        sdmcInit();
        //gfxSet3D(true); // uncomment if using stereoscopic 3D
index 5464a426abc7bcbc3bd881fe0769ec7b8b088925..7a8bfd67002c113fa27122d1537b9add590c374e 100644 (file)
@@ -15,7 +15,7 @@ int main()
        srvInit();
        aptInit();
        hidInit(NULL);
-       gfxInit();
+       gfxInitDefault();
        //gfxSet3D(true); // uncomment if using stereoscopic 3D
 
        qtmInit();
index b946f0afce5e97c8d6a86912e9f051fcd52314c3..7c91ab4dbf2551c703e624acd7e1e454df670004 100644 (file)
@@ -45,7 +45,7 @@ void renderEffect()
 int main(int argc, char** argv)
 {
 
-       gfxInit(); //makes displaying to screen easier
+       gfxInitDefault(); //makes displaying to screen easier
 
        FILE *file = fopen("test.bin","rb");
        if (file == NULL) goto exit;
index df717a66d04ed6ccf6d6a09b0f736b5a02347c1f..d55fbe9e3f06a466da14fdc3f7b0862b0c628ed3 100644 (file)
@@ -8,7 +8,7 @@ int main()
        srvInit();
        aptInit();
        hidInit(NULL);
-       gfxInit();
+       gfxInitDefault();
        //gfxSet3D(true); // uncomment if using stereoscopic 3D
 
        // Main loop