Commit 6c539589 authored by Vinson Lee's avatar Vinson Lee
Browse files

gl-3.0/minmax: Add log2 definition for MSVC.

Fixes MSVC build error.
Signed-off-by: default avatarVinson Lee <>
parent 9913560a
......@@ -110,6 +110,13 @@ size_range_test(GLenum token, const char *name)
#if defined(_MSC_VER)
static double log2(double x)
return log(x) / log(2);
static void
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment