jdk/src/share/native/sun/java2d/opengl/OGLBufImgOps.c
changeset 25778 998b49cac7e9
parent 5506 202f599c92aa
equal deleted inserted replaced
25777:bb88947b6766 25778:998b49cac7e9
   634 
   634 
   635     J2dTraceLn4(J2D_TRACE_INFO,
   635     J2dTraceLn4(J2D_TRACE_INFO,
   636                 "OGLBufImgOps_EnableLookupOp: short=%d num=%d len=%d off=%d",
   636                 "OGLBufImgOps_EnableLookupOp: short=%d num=%d len=%d off=%d",
   637                 shortData, numBands, bandLength, offset);
   637                 shortData, numBands, bandLength, offset);
   638 
   638 
       
   639     for (i = 0; i < 4; i++) {
       
   640         bands[i] = NULL;
       
   641     }
   639     RETURN_IF_NULL(oglc);
   642     RETURN_IF_NULL(oglc);
   640     RETURN_IF_NULL(srcOps);
   643     RETURN_IF_NULL(srcOps);
   641     RESET_PREVIOUS_OP();
   644     RESET_PREVIOUS_OP();
   642 
   645 
   643     // choose the appropriate shader, depending on the source texture target
   646     // choose the appropriate shader, depending on the source texture target