omar
9fdd66330f
Examples: SDL2+GL3: Fix blend func state save/restore ( #1120 )
ago%!(EXTRA string=8 years)
Gregg Tavares
01286f6636
Fix blend func state save/restore
...
AFAIK there's no such enum as `GL_BLEND_SRC` or `GL_BLEND_DST` in OpenGL3 and OpenGL4.
Maybe they're left over from previous versions? They don't even seem to exist in OpenGL 2.1. In fact checking they were deprecated in OpenGL 1.5 (they exist in 1.3)
ago%!(EXTRA string=8 years)
omar
f030087f8e
Comments to redirect people to OpenGL3 examples ( #1116 )
ago%!(EXTRA string=8 years)
omar
50b4b29beb
Examples: GLFW+GL3, SDL+GL3: Fixed modifying bound Texture0 ( #1087 , #1088 , #1116 )
ago%!(EXTRA string=8 years)
saschawillems
4da26d85cd
Clip negative scissor offsets to zero
ago%!(EXTRA string=8 years)
saschawillems
12deb53b11
Set required depth member for buffer image copy
ago%!(EXTRA string=8 years)
Peter Particle
337019a68f
typo, #elif instead of #else, fixed
ago%!(EXTRA string=8 years)
Peter Particle
fd90da38e1
Vulkan backend: g_FrameIndex not used fix -> huge perf gain
...
Added a macro to switch between unlimited frame rate (VK_PRESENT_MODE_IMMEDIATE_KHR) and limited to 60 fps (VK_PRESENT_MODE_FIFO_KHR). Only the latter mode is guaranteed to be available, but the former one most likely is.
ago%!(EXTRA string=8 years)
Marcell Kiss
e0244c8f62
Fix scissor offset being negative
ago%!(EXTRA string=8 years)
Marcell Kiss
509df3e279
Fix new Vulkan validation warnings
ago%!(EXTRA string=8 years)
ocornut
1396659b72
Examples: Speculative fix for OSX Makefile to make Travis happy (re #812 )
ago%!(EXTRA string=8 years)
ocornut
d74a3349e9
Examples: DirectX9: Explicitely setting viewport to match that other examples are doing ( #937 )
ago%!(EXTRA string=8 years)
ocornut
127dd7c88c
Examples: Vulkan: Coding style fixes ( #910 )
ago%!(EXTRA string=9 years)
Håvard Mathisen
a5600b6e59
Vulkan example: Proper surface format search.
ago%!(EXTRA string=9 years)
Håvard Mathisen
b447a71cf6
Vulkan example: Fix gamma for some implementations.
ago%!(EXTRA string=9 years)
Håvard Mathisen
08ef9819c8
Vulkan example: Fix validation layer warnings and errors and redeclare gl_PerVertex.
ago%!(EXTRA string=9 years)
ocornut
7c2b35704d
Examples: DirectX9-10-11: Only call Windows' SetCursor(NULL) when io.MouseDrawCursor is set ( #585 , #909 )
ago%!(EXTRA string=9 years)
ocornut
55863dd274
Examples: Vulkan: Shallow stylistic changes (following #879 )
ago%!(EXTRA string=9 years)
ocornut
a68ac96bc4
Examples: GL3: Comments about gl3w ( #880 )
ago%!(EXTRA string=9 years)
ocornut
775ac24d45
Fixed overzealous GCC warnings ( #883 ) + partly undo 8553bab241
ago%!(EXTRA string=9 years)
ocornut
81eefb704b
Minor const fixes for overzealous warnings ( #883 )
ago%!(EXTRA string=9 years)
sushitao
833ed760ae
update cmdline syntax in windows compilation
ago%!(EXTRA string=9 years)
Marcell Kiss
53126cd713
Add location decorators & change to use structs as in/out in glsl, update embedded spv (produced with glslangValidator -x)
ago%!(EXTRA string=9 years)
Marcell Kiss
44250caf50
Null the released resources
ago%!(EXTRA string=9 years)
ocornut
0d3f8807c7
Added a void* user_data parameter to Clipboard function handlers. ( #875 )
ago%!(EXTRA string=9 years)
ocornut
2919c77bee
Examples: GLFW+OpenGL3: Fixed Shutdown() calling GL functions with NULL parameters if NewFrame was never called ( #800 )
ago%!(EXTRA string=9 years)
ocornut
612b17ef57
Fixing minor english typos ( #827 )
ago%!(EXTRA string=9 years)
ocornut
02399852fe
Examples: OpenGL2: Uploading font texture as RGBA32 to increase compatibility with users shaders for beginners ( #824 )
ago%!(EXTRA string=9 years)
Felipe Oliveira Carvalho
6e6f04f513
Fix Mac OS X build and remove cruft from Makefile
ago%!(EXTRA string=9 years)
ocornut
bc57fd5d1d
Examples: OpenGL*: Savnig/restoring existing scissor rectangle for completeness ( #807 )
ago%!(EXTRA string=9 years)
ocornut
031d4e689d
Examples: OpenGL3: Revert Makefile change for OSX for now ( #812 )
ago%!(EXTRA string=9 years)
ocornut
2825eaa0be
Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback ( #810 )
ago%!(EXTRA string=9 years)
Kun Lin
aa0cb13aa4
Correct name for linking opengl3_example
...
According to glfw offcial site, linking `libglfw.3.dylib` etc should
use `-lglfw`.
Changed this made the compilation on my Mac successfully.
ago%!(EXTRA string=9 years)
Gustav
08a9e78da5
fixed space issues
ago%!(EXTRA string=9 years)
Håvard Mathisen
99b4f951b9
Fix Vulkan example for use when a depth buffer is active.
ago%!(EXTRA string=9 years)
Gustav
5def10c3a0
Fixed OpenGL error when calling Shutdown without calling NewFrame
ago%!(EXTRA string=9 years)
ocornut
5ae71aa04a
Examples: Renaming opengl_example/ to opengl2_example/ for clarity (1/2 because git)
ago%!(EXTRA string=9 years)
ocornut
3c384c2f10
Examples: Renaming opengl_example/ to opengl2_example/ for clarity (1/2 because git)
ago%!(EXTRA string=9 years)
ocornut
82768e05f3
Ignore list for Visual Studio
ago%!(EXTRA string=9 years)
Marcell Kiss
4bc6a951fe
tabs to space, remove braces
ago%!(EXTRA string=9 years)
Marcell Kiss
3234f81cb1
maxImageCount may be 0; add missing sType; change to 1 push constant range
ago%!(EXTRA string=9 years)
Jamie Seward
0a1d456de1
Fix compile warnings in SDL examples
ago%!(EXTRA string=9 years)
ocornut
d8dacd729b
Examples: SDL+OpenGL: explicitly setting GL_UNPACK_ROW_LENGTH to reduce issues because SDL changes it ( #752 )
ago%!(EXTRA string=9 years)
Jeongseok Lee
47911d92b2
Fix minor typo in examples/README.txt
ago%!(EXTRA string=9 years)
ocornut
1349d0aacf
Examples: DirectX9: Removing spaces ( #663 )
ago%!(EXTRA string=9 years)
Trezanik
790275eae2
Example: DirectX9: Backup and restore all state
ago%!(EXTRA string=9 years)
ocornut
8a0d3b9628
Examples; DirectX10/11: Added comments about removing dependency on d3dcompiler DLL ( #638 )
ago%!(EXTRA string=9 years)
ocornut
2ef766a1ce
Examples: DirectX10: Apply depth-stencil state like DirectX11 example ( #640 , #636 )
ago%!(EXTRA string=9 years)
ocornut
656b1e848c
Examples: DirectX11: Fixed uninitialized fields. Disabling depth-write ( #640 , #636 )
ago%!(EXTRA string=9 years)
ocornut
f4633d09ac
Examples: DirectX10, DirectX11: Removed seemingly unnecessary bunch of rasterizer state creation code.
ago%!(EXTRA string=9 years)