[Bug 33762] Framebuffer Depth textures (Shadow mapping) - FBO-EXT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 31 07:40:16 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=33762

--- Comment #1 from s3734770 at mail.zih.tu-dresden.de 2011-01-31 07:40:14 PST ---
Here the code:

  glGenFramebuffersEXT(1, @fb);
  glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fb);
  glGenRenderbuffersEXT(1, @render_buf);
  glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, render_buf);
  glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT, ShadowSize,
ShadowSize);
  glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT,
GL_RENDERBUFFER_EXT, render_buf);

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list