Code example for GL11

Methods: glTexParameteri

0
 
    @Override 
    public void glTexParameteri(final int target, final int pname,
            final int param)
    { 
        this.gl.glTexParameteri(target, pname, param);
    } 
 
 
    /** 
     * @see GL#glTexImage2D(int, int, java.io.InputStream, int) 
     */ 
 
    @Override 
    public void glTexImage2D(final int target, final int level,
            final InputStream stream, final int border)
    { 
        final Bitmap tmp = BitmapFactory.decodeStream(stream);
        final Matrix flip = new Matrix();
        flip.postScale(1f, -1f);
        final Bitmap bitmap = Bitmap.createBitmap(tmp, 0, 0, tmp.getWidth(),