Project

General

Profile

« Previous | Next » 

Revision 5f35f1cb

Added by Leszek Koltunski almost 4 years ago

Only insert the 'Mali r12' FBO queue fix if we actually are running on a Mali GPU with driver version <22. (then FBOQueue=4 - unless we manually overide this down to 1 - else, always 1)

View differences:

src/main/java/org/distorted/library/main/InternalSurface.java
41 41
    mNumColors    = numcolors;
42 42
    mColorCreated = create;
43 43

  
44
    allocateColor();
45
    }
46

  
47
///////////////////////////////////////////////////////////////////////////////////////////////////
48

  
49
  void allocateColor()
50
    {
44 51
    int total = mNumFBOs*mNumColors;
45 52

  
46 53
    if( total>0 )

Also available in: Unified diff