From 96ac6cc2d8d3c1aa54f05b6a6e81a7d21b110fd2 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Mon, 4 Mar 2024 18:14:10 -0500 Subject: [PATCH] Remove _SHIFTL and _SHIFTR macros since they are now in gcutil.h --- GRRLIB/GRRLIB/grrlib/GRRLIB_pixel.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB_pixel.h b/GRRLIB/GRRLIB/grrlib/GRRLIB_pixel.h index a1e87ec..ae509bf 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB_pixel.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB_pixel.h @@ -1,5 +1,5 @@ /*------------------------------------------------------------------------------ -Copyright (c) 2009-2021 The GRRLIB Team +Copyright (c) 2009-2024 The GRRLIB Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -25,11 +25,6 @@ THE SOFTWARE. * Inline functions for manipulating pixels in textures. */ -#define _SHIFTL(v, s, w) \ - ((u32) (((u32)(v) & ((0x01 << (w)) - 1)) << (s))) -#define _SHIFTR(v, s, w) \ - ((u32)(((u32)(v) >> (s)) & ((0x01 << (w)) - 1))) - /** * Return the color value of a pixel from a GRRLIB_texImg. * @param x Specifies the x-coordinate of the pixel in the texture.