mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-10 02:12:20 +00:00
Remove _SHIFTL and _SHIFTR macros since they are now in gcutil.h
This commit is contained in:
parent
4b65d83fea
commit
96ac6cc2d8
1 changed files with 1 additions and 6 deletions
|
@ -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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -25,11 +25,6 @@ THE SOFTWARE.
|
||||||
* Inline functions for manipulating pixels in textures.
|
* 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.
|
* Return the color value of a pixel from a GRRLIB_texImg.
|
||||||
* @param x Specifies the x-coordinate of the pixel in the texture.
|
* @param x Specifies the x-coordinate of the pixel in the texture.
|
||||||
|
|
Loading…
Reference in a new issue