#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.
Note:
See TracTickets
for help on using tickets.
There's me mixing in older code :/