I dont get why auto-format push the `NULL` of the ...
# codingconventions
e
I dont get why auto-format push the
NULL
of the first method on the second line, but doesn't do the same for the second method
Copy code
fun texImage1D(level: Int, internalFormat: InternalFormat, width: Int, format: ExternalFormat, type: TypeFormat, pixels: Buffer? = null) {
        GL11C.nglTexImage1D(GL11C.GL_TEXTURE_1D, level, internalFormat.i, width, 0, format.i, type.i, pixels?.adr
                ?: NULL)
    }

    fun texImage1D(internalFormat: InternalFormat, width: Int, format: ExternalFormat, type: TypeFormat, pixels: ByteBuffer? = null) {
        GL11C.nglTexImage1D(GL11C.GL_TEXTURE_1D, 0, internalFormat.i, width, 0, format.i, type.i, pixels?.adr ?: NULL)
    }