aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/modules/gdisp/polygons/main.c6
-rw-r--r--demos/modules/gwin/graph/main.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/modules/gdisp/polygons/main.c b/demos/modules/gdisp/polygons/main.c
index 277fd0bf..f91a5cdd 100644
--- a/demos/modules/gdisp/polygons/main.c
+++ b/demos/modules/gdisp/polygons/main.c
@@ -33,7 +33,7 @@
#define FRAME_DELAY 100 /* The interframe delay in milliseconds */
// Our shape definition
-static const point shape[] = {
+static const gPoint shape[] = {
{ 10, 10 },
{ 10, 15 },
{ 17, 17 },
@@ -49,8 +49,8 @@ static const point shape[] = {
#define NUM_POINTS (sizeof(shape)/sizeof(shape[0]))
// Where we put our calculated points
-static point result[NUM_POINTS];
-static point oldresult[NUM_POINTS];
+static gPoint result[NUM_POINTS];
+static gPoint oldresult[NUM_POINTS];
// Make fixed point and floating point options look pretty similar
#if GMISC_NEED_MATRIXFLOAT2D
diff --git a/demos/modules/gwin/graph/main.c b/demos/modules/gwin/graph/main.c
index c184a939..19c6c76c 100644
--- a/demos/modules/gwin/graph/main.c
+++ b/demos/modules/gwin/graph/main.c
@@ -31,7 +31,7 @@
#include "math.h"
// A set of data points that will be displayed in the graph
-static const point data[5] = {
+static const gPoint data[5] = {
{ -40, -40 },
{ 70, 40 },
{ 140, 60 },