初始提交
Win11 动态壁纸引擎:WebView2 + systray + 和风天气 - WebGL 极光背景动画 - 实时天气(24h/7d预报) - 星座运势(托盘切换) - 暂停/继续控制 - 单实例互斥锁防双开 - vendor systray 修复 ClickedCh 静默丢弃
This commit is contained in:
13
docs/backup-opengl/shader.go.bak
Normal file
13
docs/backup-opengl/shader.go.bak
Normal file
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
const vertexSrc = `#version 430 core
|
||||
in vec2 a_pos;
|
||||
void main() { gl_Position = vec4(a_pos, 0.0, 1.0); }
|
||||
`
|
||||
|
||||
const fragmentSrc = `#version 430 core
|
||||
out vec4 FragColor;
|
||||
void main() {
|
||||
FragColor = vec4(0.0, 1.0, 0.0, 1.0);
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user