/[libvob]/libvob/org/nongnu/libvob/gl/GL.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/gl/GL.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by tjl, Wed Oct 22 08:57:48 2003 UTC revision 1.29 by tjl, Fri Oct 31 07:22:09 2003 UTC
# Line 903  public class GL { Line 903  public class GL {
903          /** Add a dependency.          /** Add a dependency.
904           * Adds an object that mustn't get garbage collected           * Adds an object that mustn't get garbage collected
905           * before this one.           * before this one.
906             * For example, if you use a texture id that you get from
907             * a GL.Texture object's getTexId() method, you should
908             * probably ensure that that texture won't get deleted
909             * before this display list. Calling displayList.addDepend()
910             * with the texture object ensures this as it stores a reference
911             * to the texture in this display list.
912           */           */
913          public void addDepend(Object o) {          public void addDepend(Object o) {
914              if(depends == null) depends = new ArrayList();              if(depends == null) depends = new ArrayList();

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26