adbrown85 / gloop

Lightweight C++ wrapper for OpenGL
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

ProgramBuilder uses Program #19

Closed adbrown85 closed 12 years ago

adbrown85 commented 12 years ago

Currently ProgramBuilder just returns the raw OpenGL handle for the program. However, now that we have a wrapper for programs it should return that instead. Also it should be using the methods in Program to build it.

adbrown85 commented 12 years ago

Don't think we even need ProgramBuilder anymore, since our new Program wrapper makes it just about as easy to make a program. Only thing ProgramBuilder would do extra would be to check if it's linked and valid, but it's difficult deciding what to do with the log there anyway so it's probably best to just go with Program.