Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1603 closed defect (fixed)

LOSTexture breaks OS X 10.5 build

Reported by: historic_bruno Owned by:
Priority: Should Have Milestone: Alpha 11
Component: Core engine Keywords:
Cc: myconid Patch:

Description

While test building an OS X 10.5 bundle, I encountered a few errors in LOSTexture.cpp:

LOSTexture.cpp
../../../source/graphics/LOSTexture.cpp: In member function ‘void CLOSTexture::InterpolateLOS()’:
../../../source/graphics/LOSTexture.cpp:126: error: ‘GL_FRAMEBUFFER_BINDING’ was not declared in this scope
../../../source/graphics/LOSTexture.cpp:128: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
../../../source/graphics/LOSTexture.cpp:129: error: ‘GL_COLOR_ATTACHMENT0’ was not declared in this scope

The fix looks simple, just replace e.g. GL_FRAMEBUFFER with GL_FRAMEBUFFER_EXT. I think these might have been typos because the new code strangely mixes the two.

Change History (2)

comment:1 by myconid, 12 years ago

Resolution: fixed
Status: newclosed

There's me mixing in older code :/

comment:2 by historic_bruno, 12 years ago

Thanks for the quick fix! :)

Note: See TracTickets for help on using tickets.