DrawTexture does not draw anything

Testing on linux. LoadTexture seems to work, as the console prints:

INFO: [./tex.png] Image loaded successfully (768x128)
INFO: [TEX ID 2] Texture created successfully (768x128)

Can reproduce the issue with:

import raylib

InitWindow(500.cint, 500.cint, "texture test")
var tex = LoadTexture("./tex.png")
SetTargetFPS(60)

while WindowShouldClose() == false:
  BeginDrawing()
  ClearBackground(WHITE)
  DrawTexture(tex, 0, 0, WHITE)
  EndDrawing()

UnloadTexture(tex)
CloseWindow()