Explorar el Código

Merge pull request #683 from iwoplaza/patch-1

Update core.c
pull/703/head
Ray hace 6 años
cometido por GitHub
padre
commit
829538249f
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      src/core.c

+ 3
- 1
src/core.c Ver fichero

@ -1173,7 +1173,9 @@ void BeginTextureMode(RenderTexture2D target)
rlEnableRenderTexture(target.id); // Enable render target
rlClearScreenBuffers(); // Clear render texture buffers
// Some projects need the buffer to not be empited when drawing to
// the render texture.
//rlClearScreenBuffers(); // Clear render texture buffers
// Set viewport to framebuffer size
rlViewport(0, 0, target.texture.width, target.texture.height);

Cargando…
Cancelar
Guardar