]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Support real type of picture size
authorabd <abd@opencascade.com>
Wed, 23 Nov 2005 11:39:21 +0000 (11:39 +0000)
committerabd <abd@opencascade.com>
Wed, 23 Nov 2005 11:39:21 +0000 (11:39 +0000)
src/GLViewer/GLViewer_Drawer.cxx
src/GLViewer/GLViewer_Drawer.h

index 573e9f2ddadbb75a1fadd94bae2c1208bed6f765..74698b90c2a6367ecfd51ca4726981387a774594 100644 (file)
@@ -658,8 +658,8 @@ void GLViewer_Drawer::drawTexture( GLuint texture, GLint x_size, GLint y_size, G
 void GLViewer_Drawer::drawTexturePart( GLuint texture,
                                        GLfloat x_ratio,
                                        GLfloat y_ratio,
-                                       GLint x_size,
-                                       GLint y_size,
+                                       GLfloat x_size,
+                                       GLfloat y_size,
                                        GLfloat x,
                                        GLfloat y,
                                        GLfloat scale )
index 253f5dd92940b4934f46646b4648ed57ede31e45..56bbdbbec6c6c94fc63c4a1a6924e873eb998d77 100644 (file)
@@ -302,8 +302,8 @@ public:
   void                            drawTexturePart( GLuint texture,
                                                    GLfloat x_ratio,
                                                    GLfloat y_ratio,
-                                                   GLint x_size,
-                                                   GLint y_size,
+                                                   GLfloat x_size,
+                                                   GLfloat y_size,
                                                    GLfloat x,
                                                    GLfloat y,
                                                    GLfloat scale = 0 );