Jump to content

  • Log In with Google      Sign In   
  • Create Account

Weton

Member Since 27 Mar 2013
Offline Last Active Jan 18 2015 11:15 AM

Posts I've Made

In Topic: Cannot Clear/Draw to Framebuffer

15 August 2014 - 08:27 AM

Thanks to both of you.

No, that is not an explanation. To know that OpenGL would have to look into the future.

Sure ;) But it could cancel the operation when I call SwapBuffers

And yes, I bound a sampler when I bound the texture.

But why is it important to know the min and mag filters when I write to a texture?

In Topic: Cannot Clear/Draw to Framebuffer

14 August 2014 - 12:53 PM

After I added an object, that is using the texture it seems to work.

Is it possible, that opengl noticed that I was never reading data from the framebuffer and skipped rendering?

In Topic: Cannot Clear/Draw to Framebuffer

13 August 2014 - 03:17 AM

Yes, the viewport is set to the same width and height as the textures. (I updated the source)


In Topic: Can't get files to compile on Code:Blocks

26 May 2013 - 03:25 PM

Then your folders should propably look like this:

-main.d | with import allegro5.base

+allegro5

  -base.d | module allegro5.base


In Topic: Can't get files to compile on Code:Blocks

24 May 2013 - 05:08 AM

I normaly get this, if the module can't be found (not added to the include directories).

I'm not used with CB or Allegro, but how did you added the DAllegro5 files to the project?

I think you have to add both the library and the include files (.d).

Just look in your settings and what you set to get DMD working and add the simmilar paths for Allegro. (in my old CB version 10.05 in Settings>Compiler and debugger>... or Project>Build Otions>... and then in ...>Linker Settings and ...>Search Paths)


PARTNERS