git-svn-id: svn://db.shs.com.ru/libs@286 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-10-03 12:20:32 +00:00
parent b46b9329f3
commit 7ad19d72c5
40 changed files with 320 additions and 712 deletions

View File

@@ -79,7 +79,7 @@ GLObjectBase * GLObjectBase::clone(bool withChildren) {
return o;
}
void GLObjectBase::draw(QGLShaderProgram * prog, bool simplest) {
void GLObjectBase::draw(__GLShaderProgram__ * prog, bool simplest) {
vbo.draw(geom_prim, prog, simplest);
/*if (!d_vertices.isEmpty()) {
glBindBuffer(GL_ARRAY_BUFFER, 0);
@@ -272,7 +272,7 @@ GLObjectBase * Light::clone(bool withChildren) {
}
void Light::draw(QGLShaderProgram * prog, bool simplest) {
void Light::draw(__GLShaderProgram__ * prog, bool simplest) {
bool l = glIsEnabled(GL_LIGHTING);
glDisable(GL_LIGHTING);
glPointSize(8.);