git-svn-id: svn://db.shs.com.ru/libs@536 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -90,7 +90,7 @@ GLObjectBase * GLObjectBase::clone(bool withChildren) {
|
||||
return o;
|
||||
}
|
||||
|
||||
void GLObjectBase::draw(__GLShaderProgram__ * prog, bool simplest) {
|
||||
void GLObjectBase::draw(QOpenGLShaderProgram * prog, bool simplest) {
|
||||
vbo.draw(geom_prim, prog, simplest);
|
||||
/*if (!d_vertices.isEmpty()) {
|
||||
glBindBuffer(GL_ARRAY_BUFFER, 0);
|
||||
@@ -332,7 +332,7 @@ GLObjectBase * Light::clone(bool withChildren) {
|
||||
}
|
||||
|
||||
|
||||
void Light::draw(__GLShaderProgram__ * prog, bool simplest) {
|
||||
void Light::draw(QOpenGLShaderProgram * prog, bool simplest) {
|
||||
bool l = glIsEnabled(GL_LIGHTING);
|
||||
glDisable(GL_LIGHTING);
|
||||
glPointSize(8.);
|
||||
|
||||
Reference in New Issue
Block a user