Project

General

Profile

« Previous | Next » 

Revision 6e4699db

Added by Leszek Koltunski 1 day ago

  • ID 6e4699db307c15c5e43d2af721a2e2c7f5d13a35
  • Parent 6d4cbfdf

corrections for glowing.

View differences:

src/main/java/org/distorted/library/uniformblock/UniformBlockAssociation.java
106 106

  
107 107
  public void setEffectAssociationNow(int comp, int andAssociation, int equAssociation)
108 108
    {
109
    mAssociations[mStride*comp+LOC_AND] &= 0x8000;
110
    mAssociations[mStride*comp+LOC_AND] += (andAssociation & 0x7fff);
111
    mAssociations[mStride*comp+LOC_EQU] = equAssociation;
109
    int index = mStride*comp;
110
    mAssociations[index+LOC_AND] &= 0x8000;
111
    mAssociations[index+LOC_AND] += (andAssociation & 0x7fff);
112
    mAssociations[index+LOC_EQU] = equAssociation;
112 113

  
113 114
    mUBO.invalidate();
114 115
    }

Also available in: Unified diff