Read texture from file via LoadGLTextureFromFile from VampyreImaging lazarus / 70-OpenGL ---------------------------------------------------------------------- LemonParty · 2024-12-16 18:44 Hello. I installed VampyreImaging library from online package manager. I used function LoadGLTextureFromFile to load a texture from bmp file and this give SIGSEGV. Is there other ways I can load texture? ---------------------------------------------------------------------- H₂SO₄ · 2024-12-17 06:14 How are you calling  LoadGLTextureFromFile? Do you have a call stack/backtrace? Looking at the function signature and knowing you're getting a segfault, I suspect that you might be passing invalid pointers as  CreatedWidth  and  CreatedHeight. It should be something like this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i var  Texture: GLuint;  Width, Height: LongInt;begin  Texture := LoadGLTextureFromFile('tex.bmp', @Width, @Height);  // Width and Height now contain the bitmap's dimensionsend; ---------------------------------------------------------------------- LemonParty · 2024-12-17 12:09 Falling even when I call it this way LoadGLTextureFromFile('tex.bmp', @Width, @Height).