Skip to content

Commit 6ce791c

Browse files
authored
Merge pull request #281 from sblondon/remove-unused-constant
clean: remove unused macros
2 parents 46482f3 + 05aa23c commit 6ce791c

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

src/samples/gu/blend/blend.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ struct BlendState
4545
#define SCR_WIDTH (480)
4646
#define SCR_HEIGHT (272)
4747

48-
#define NUM_SLICES 128
49-
#define NUM_ROWS 128
50-
#define RING_SIZE 2.0f
51-
#define RING_RADIUS 1.0f
52-
#define SPRITE_SIZE 0.025f
53-
5448
unsigned int __attribute__((aligned(16))) clut256[256];
5549
unsigned char __attribute__((aligned(16))) tex256[256*256];
5650

src/samples/gu/clut/clut.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ int SetupCallbacks();
3838
#define FRAME_SIZE (BUF_WIDTH * SCR_HEIGHT * PIXEL_SIZE)
3939
#define ZBUF_SIZE (BUF_WIDTH SCR_HEIGHT * 2) /* zbuffer seems to be 16-bit? */
4040

41-
#define NUM_SLICES 128
42-
#define NUM_ROWS 128
43-
#define RING_SIZE 2.0f
44-
#define RING_RADIUS 1.0f
45-
#define SPRITE_SIZE 0.025f
46-
4741
unsigned int colors[8] =
4842
{
4943
0xffff0000,

src/samples/gu/lines/lines.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ struct Vertex
3333
#define SCR_WIDTH (480)
3434
#define SCR_HEIGHT (272)
3535

36-
#define NUM_SLICES 128
37-
#define NUM_ROWS 128
38-
#define RING_SIZE 2.0f
39-
#define RING_RADIUS 1.0f
40-
#define SPRITE_SIZE 0.025f
41-
4236
unsigned int colors[8] =
4337
{
4438
0xffff0000,

0 commit comments

Comments
 (0)