Skip to content

Commit

Permalink
fix version string
Browse files Browse the repository at this point in the history
  • Loading branch information
szabolcsdombi committed Feb 3, 2024
1 parent a9b7fc3 commit acfad5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ Shader Includes
pipeline = ctx.pipeline(
vertex_shader='''
#version 330
#version 330 core
#include "common"
#include "qtransform"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_triangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def test_render_triangle(ctx: zengl.Context):
img = ctx.image((256, 256), 'rgba8unorm')
triangle = ctx.pipeline(
vertex_shader='''
#version 330
#version 330 core
vec2 positions[3] = vec2[](
vec2(0.0, 0.7),
Expand All @@ -19,7 +19,7 @@ def test_render_triangle(ctx: zengl.Context):
}
''',
fragment_shader='''
#version 330
#version 330 core
layout (location = 0) out vec4 out_color;
Expand Down

0 comments on commit acfad5c

Please sign in to comment.