News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

GL_RGBA isn't recognized in MASM

Started by supercoollee, May 11, 2010, 07:00:37 AM

Previous topic - Next topic

supercoollee

GL_RGBA is a constant (and i don't know what's the exact value for it)

i already included opengl32.inc opengl32.lib glu32.inc glu32.lib but MASM doesn't recognize the constant. what file should i include?
if it is not in MASM32 package, what resource should i download in order to make MASM work with all OPENGL functions ?

MichaelW

Look in \masm32\include\winextra.inc
eschew obfuscation

supercoollee

in winextra.inc , i found GL_BGRA_EXT, but no GL_BGRA . what can i do?

supercoollee

never mind, i found that they are the same with or without " _EXT "

MichaelW

There is no GL_BGRA defined in gl.h distributed with the Windows Server 2003 PSDK, or in the gl.h distributed with the 3790.1830 DDK, but I was able to find it in one of the FreeBASIC header files, and also in the gl.h distributed with MinGW:

#define GL_BGRA 0x80E1
eschew obfuscation