d3dx9_36: Make {is,make}_pow2() static.

This commit is contained in:
Francois Gouget 2010-08-26 13:01:09 +02:00 committed by Alexandre Julliard
parent ea67356998
commit 2f8f70bca7
1 changed files with 2 additions and 2 deletions

View File

@ -24,13 +24,13 @@
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
/* Returns TRUE if num is a power of 2, FALSE if not, or if 0 */
BOOL is_pow2(UINT num)
static BOOL is_pow2(UINT num)
{
return !(num & (num - 1));
}
/* Returns the smallest power of 2 which is greater than or equal to num */
UINT make_pow2(UINT num)
static UINT make_pow2(UINT num)
{
UINT result = 1;